Where my CSS fools at? 🙂 I’m having a heck of a time targeting one specific link in a custom menu to get it to retain styling when it is the current page. http://vasd.angiemeekerdesigns.com/about/contact/ (the page is the “Contact” page), the link is the “Get Help” link in the upper right. You can see that when not the current page, the link itself and its background is totally green. I’d like it to be that way when it’s current/active, too. But I’m having trouble targeting it alone.
I know it links to the same page as another link in the custom menu (under the About dropdown). But I thought you could target individual menu items of a custom menu (this one being #menu-item-169). For some reason though I’ve not been able to get to the rest of what I need. I thought #dropmenu #menu-item-169 li.current-menu-item > a would do it, but that didn’t work.
- The topic ‘Target specific item in custom menu’ is closed to new replies.