Formatting Text Widget in Quentin theme
-
I’ve added a text widget to my sidebar, but I have found no way to match text color to the body of the page and the rest of the sidebar, or to create paragraph breaks.
Is it possible to format the text widgets? If not, would it work to create a block of text in photoshop and upload it as a .jpg? How do I determine the pixel width of the sidebar?
Many thanks.
-
NOTE: I figured out the paragraph breaks. Now my only question is now to change the text color.
-
either:
font-color: red;
or define font first:font-familiy: verdana, helvetica; color: red;in the css selector for you widgets.
-
Thanks, boblets –
I don’t do CSS – I tried using font/color with a hex number in html but couldn’t make that work. Does this require CSS?
-
No CSS needed for hex numbers. You can use this code:
<span style="color:#HEX;">TEXT</span>
(where TEXT is the block of text you want to change and HEX is the number of the color you want). -
Voila!! Perfect.
Thanks, panaghiotisadam! The code is just a bit different than that which had worked for me on another site.
Many thanks to you – also boblits!
-
-
In my text widget, I used
<br /><br />successfully. There may be other ways to do it.
And just one<br />didn’t do the trick – I had to use a pair. In the body of my post, other tags are used, such as<span>. I’m just learning, so this may not be the best method. -
Uh – don’t have a clue why the slash showed up in the above post – the “br” should look just like the span, with no slashes.
- The topic ‘Formatting Text Widget in Quentin theme’ is closed to new replies.