.current-menu-item
-
Hi There,
Thanks again for the theme. I’m having some issues with getting
.current-menu-item
to work. I can see in the changelog that this has been stripped as it has something to do with the foundation ‘active’ class, but I can’t seem to target this within css. eg.top-bar, .name a, .top-bar ul li a, .menu .active > a { background: #9BA78A !important; }
Styles 4/6 menu links including the active page
.menu .active > a { background: #9BA78A !important; }
Works to a point, but doesn’t work on the homepage. I’m just looking for a way to add a background to whichever page a user is on, ideally I’d like this to work if the link sits outside of menus. Unfortunately I’m working on a test site so can’t send a link but can provide logins if you had time to take a look.
Thanks Again
Dave
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘.current-menu-item’ is closed to new replies.