- This topic has 3 replies, 3 voices, and was last updated 9 years, 5 months ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I am using the Epik theme.
Is there anyway I can keep the parent menu item higlight when I am on a subpage?
If you check the demo: http://my.studiopress.com/themes/epik/#demo-full
And go e.g. Templates -> Archive page. the parent menu item "template" is not highlighted.
The answer can be found on WordPress.org.
Just need to use:
.current-menu-parent class and that does it
I want to do this too, but both of the previous responses aren't helping me at this point.
I believe that the "basicwp" link deals with highlighting the parent when you are selecting something from the menu. That's not what I want to do. I want the parent menu item to be highlighted when I'm *viewing* a child/subpage.
The class .current-menu-parent may be the answer, but can someone explain in more detail how to implement it? I'm using the Executive Pro theme.
© 2023 WPEngine, Inc.