Navigation / Menu Tab Background / Font Colors (Home, About, Purpose, etc.)
-
How do I change the background and font colors of the navigation / menu tabs? Would like to have a color set for the active navigation / menu tab and a different color set for the inactive navigation / menu tabs.
Thank you very much!
The blog I need help with is: (visible only to logged in users)
-
You just want to differentiate the current tab from the others? If your theme doesn’t already do this, it may not be possible, but I can take a look.
Here are some resources for learning how to find the correct CSS selectors:
And you can find some more CSS resources here:
http://en.support.wordpress.com/custom-design/custom-css/#css-help
-
Hi
Yes…I’d like to differentiate the current tab from the others. Currently the background of the active tab (for the page being viewed) is black. The remaining are white. I’d like to change the active tabs color from black to another color.
In the meantime, I’ll take at look at the suggested resources.
Thanks!
-
Great! Here’s some code that targets the active tab. I’ve set the color to red just so you can see that it works, but update that to be any color you want.
#access .current-menu-item a, #access .current-menu-ancestor a, #access .current_page_item a, #access .current_page_ancestor a { background: red; }You can use either a hexadecimal number to specify a color, or a color keyword like in my example.
-
-
- The topic ‘Navigation / Menu Tab Background / Font Colors (Home, About, Purpose, etc.)’ is closed to new replies.