Support » Fixing WordPress » Different color menu items
5 years, 3 months ago
Is it possible to change the color of a menu item when the menu is generated by the menu generator.
I am using the twenty-ten theme.
Any and all help appreciated.
it is possible and has already been answered in the forum.
for instance: http://wordpress.org/support/topic/twenty-ten-colour-tabs?replies=6
Those directions only work for the primary menu located in #access. I am trying change the color of a menu item in a non-primary menu.
I don’t see a menu-item associated with the menu when viewing page source. I can find them from the menu generator.
the instructions are basically for finding the css class or id of the respective menu item, and to use this in the style.css.
it is your job to find these css classes, either by looking into the html code of the page in the browser, or by using a web tool such as firebug or similar.
if you want help with this, please post a link to your site, and provide detsils about what menu item you want to change.
basics of css: http://www.w3schools.com/css/default.asp
basics of html: http://www.w3schools.com/html/default.asp
What I found was that the menu I was trying change to wasn’t placed using the “proper” code. I did a little reading on how to place a secondary menu, which included editing functions.php.
Once the coding in the page was right, the menu item numbers were generated and the changes I made following the above directions took effect.
Thanks for your help 🙂