• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Highlight parent menu item when on child page

Welcome!

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.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Highlight parent menu item when on child page

This topic is: resolved

Tagged: Epik, higlight, menu, navigation, submenu

  • This topic has 3 replies, 3 voices, and was last updated 11 years, 8 months ago by padredenny.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • May 26, 2014 at 3:06 am #106791
    Teo100
    Member

    Hi,

    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.

    May 26, 2014 at 8:40 am #106818
    Davinder Singh Kainth
    Member

    Refer - http://www.basicwp.com/menu-highlighted-sub-menus-hover/


    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

    May 31, 2014 at 1:12 am #107584
    Teo100
    Member

    The answer can be found on WordPress.org.
    Just need to use:
    .current-menu-parent class and that does it

    June 26, 2014 at 5:38 pm #111682
    padredenny
    Member

    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.

    Thanks.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble