• 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

Navigation Selected Color

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 › Navigation Selected Color

This topic is: not resolved

Tagged: background color, css, current-menu-ancestor, navigation, streamline pro

  • This topic has 1 reply, 2 voices, and was last updated 9 years, 4 months ago by Christoph.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • July 14, 2016 at 9:58 am #189458
    ScottFromPA
    Member

    Hey Guys,

    I'm working on the Streamline Pro theme and I'd like to show a different background color for selected button choices. I've modified .current-menu-item and that does work for primary navigation buttons perfectly. The problem is that when a sub choice is selected I'd like the primary to change color.

    I created an image that explains the need.

    Genesis Navigation Selected Color Manipulation

    I've been dabbling with current-menu-ancestor with little luck.

    How do you modify the selected color of a primary button when a child (sub choice) is clicked?

    Thanks for the help

    July 16, 2016 at 7:39 pm #189632
    Christoph
    Member

    Hi,

    you can try these:

    http://stackoverflow.com/a/10207668
    http://stackoverflow.com/a/10207832

    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 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

© 2025 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