Changing Nav Menu Colors
-
Sorry i was able to find out how, but now for some reason the word News and Forum are showing up a light grey, when the rest are black, not sure why?
Mod
Looks okay to me. Try refreshing the page.I see it now. It’s because you clicked on those once, and now they are “visited” links.
You’ll need to add something like
a:visted {color:#000;}along with your other code.
Mod
You’ll need to add it to the code you used to change your menu. Wherever you have
a, you also need to adda:visited.so for all of this I need to add more, with
a:visited?/* Top level header menu, hover and current state */
#header-menu > li:hover,
#header-menu > li.current-menu-item,
#header-menu > li.current-menu-ancestor {
background: url(images/sprite_h.png) left -100px repeat-x #eee;
}
#header-menu > li:hover > a,
#header-menu > li.current-menu-item > a,
#header-menu > li.current-menu-ancestor > a {
color: #000;
}
#header-menu > li:hover > a > span,
#header-menu > li.current-menu-item > a > span,
#header-menu > li.current-menu-ancestor > a > span {
color: #000;
}
#header-menu > li.menu-item-ancestor:hover > a,
#header-menu > li.current-menu-item > a,
#header-menu > li.current-menu-ancestor > a {
background-position: -877px -192px;iholdfast, could you please share how you changed the menu color? Thanks!
@ Freecyclist,
What exactly are you wanting to change? The hover color of the menu links?
For now, not the hover, but the actual menu background–it’s gray right now, I’d love for it to be green. Eventually, the hover and the menu items as well.
Okay, try adding this to your child theme or custom css:
#header-menu {
background: none repeat scroll 0 0 #FF0000;
}Change the #FF0000 to whatever hex color you like.
Viewing 10 posts - 1 through 10 (of 10 total)
- You must be logged in to reply to this topic.
