Archive Page Menu Links not recieving ‘current-menu-item’ class
-
I have CSS written to make the menu item for the current page have a teal (#00A39C) color, however, the menu items for the two Archive Pages I’m using do not have the “current-page-item” or “current-menu-item” class applied to them. Here is the CSS I am using.
.current_page_item a, .current-menu-item a {
color: #00A39C !important;
}That works for my other two menu items, the “Home” and “About Mike” links. However, for “Articles” or “Resources” the active menu does not get that teal color since those two menu items do not get the “current-page-item” or “current-menu-item” classes for some reason.
I don’t understand why those two links behave differently than the first two. I added those two links to my primary menu in the exact same way as the “Home” and “About Mike” links that do work. None of my menu items have any additional CSS classes applied to them. Can you help me get the Current Menu link to behave the same for all 4 of my menu items?
The page I need help with: [log in to see the link]
- The topic ‘Archive Page Menu Links not recieving ‘current-menu-item’ class’ is closed to new replies.