Highlight current menu item
-
I’m currently trying to work out if it’s possible to add a
current-<custom>-ancestorclass to a menu item. The menu I am working with look like:<menu>
<menu item 1>
<custom post cat 1 />
<custom post cat 2 />
<custom post cat 3 />
</menu item 1>
<menu item 2>
<custom post cat 4 />
</menu item 2>
</menu>this is working fine, except for that when I select a post from one of the
custom post catsthemenu itemlooses it’scurrent-menu-ancestorclass, leaving only thecustom post catas current.has anyone had this issue?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Highlight current menu item’ is closed to new replies.