Changing font colour in side bar
-
Hello,
I am new to using WordPress, and would need help with customized CSS. I want to change font colour in side bar, from black (which is hardly visible) to red. Can anyone help with this please?
Many thanks in advance,
AnabelThe blog is http://onmywaytothenorthstar.com
The blog I need help with is: (visible only to logged in users)
-
Hi.
You could use this code for the navigation list (in your case just ‘content’):
#secondary #site-navigation a { color: red; }and then, for archives widget (title and links):
#secondary #widget-area .widget-title, #secondary #widget-area a { color : red; }I hope this helps you.
-
Thanks very much for this! I`ll try them out.
As there are two codes, does that mean that I`ll have to add new codes for anything else I want to add on a side bar in red? -
-
Hi, both codes work, thanks! But anything new I write it still comes out in black.
Is there a way or setting to change the font colour in sidebar? -
Hi Anabel
I see. I told you it should work for anything else in your sidebar, but I thought you meant in the same widgets you had. Sorry about that. You can add this code to solve the problem with “123” text:
.widget { color: red; }In fact, with each new widget type added you would possibly –but not probably- need to add a new css code. In that case, please, ask us :)
-
- The topic ‘Changing font colour in side bar’ is closed to new replies.