Hovering color for top main menu item
-
HI, I am trying to figure out which of my CSS codes deals with the color that shows when I hover over the main menu items. The drop down sub menus hover green, and I know which CSS that is, but the top main menu item still hovers orange. I looked at my CSS and the only one that I thought could be it is:
a:focus, a:hover {
color: #89a544;And I changed the color code to the green but it still is orange. Can you take a look and let me know what I’m missing? Thanks!
The blog I need help with is: (visible only to logged in users)
-
Try the following:
nav a:hover, div.menu a:hover { background-color: #89a544; }Let me know how that works!
-
Perfect! Thanks! What was the other CSS for I messaged you? Just want to see what I switched by changing the color code since I can’t figure it out.
a:focus, a:hover {
color: #89a544; -
I’m not sure. Those are just general link selectors, but they’re not specific to any area of your theme, so I’m not sure if your adding that did anything.
We’ve got a great series on the Daily Post teaching our users basic CSS. You should check these out! They’re a big help:
-
- The topic ‘Hovering color for top main menu item’ is closed to new replies.