• 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 Primary Navigation While On Sub-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 › General Discussion › Highlight Primary Navigation While On Sub-Page

This topic is: not resolved

Tagged: altitude, highlight, primary navigation, Sub Page Navigation

  • This topic has 2 replies, 2 voices, and was last updated 11 years, 1 month ago by jubbling1.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • September 24, 2015 at 12:30 pm #166586
    jubbling1
    Member

    I'm using altitude and I'd like to have the little blue bar under the selected item in the primary navigation to stay highlighted when browsers are on the sub page in that section section.

    Thanks.

    http://cv.kldwd.com/
    September 24, 2015 at 3:28 pm #166595
    Tom
    Participant

    Place this snippet in the child theme stylesheet at line 1124.

    .genesis-nav-menu li.current-menu-item > a,
    .genesis-nav-menu li.current-menu-parent > a,
    .genesis-nav-menu li.current-menu-ancestor > a,
    .genesis-nav-menu li.sub-menu .current-menu-item > a:hover,
    .genesis-nav-menu li.current-menu-item > a:hover, 
    .genesis-nav-menu li.current-menu-item > a, 
    .genesis-nav-menu > li > a:hover {
        border-color: #22a1c4;
    }

    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

    September 24, 2015 at 4:45 pm #166599
    jubbling1
    Member

    Nailed it! Thank you very much... it works perfectly!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘General Discussion’ 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