• 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

Changing Hover Color in Secondary Nav Menu

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 › Changing Hover Color in Secondary Nav Menu

This topic is: not resolved

Tagged: Colors, hover, lifestyle Pro, menu item, nav menu

  • This topic has 4 replies, 2 voices, and was last updated 11 years, 6 months ago by bfoken.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • December 6, 2013 at 3:48 pm #77443
    bfoken
    Member

    Hello,

    I'm trying to change the hover background color in the sub-menu navigation. For instance, when going from "Cookbook", to "breakfast", I'd like to change the background color of "breakfast" and all the other sub-category items to a different color (#3aac3a) when you hover over them. I've tried changing every option that has a hover or menu-item selector, but can't seem to change the hover color. Any help is appreciated.

    Thank you,

    Brandon

    http://www.idcookthat.com
    December 6, 2013 at 3:56 pm #77447
    emasai
    Participant

    I can't tell you which line it is as your css is minified. Look for this and change the background color:

    .genesis-nav-menu > li:hover .sub-menu a:hover, .genesis-nav-menu .sub-menu a:hover {
    background-color: #eeeee8;
    color: #222;
    }


    Need Website Customization or a Responsive CSS fix? Contact Me
    Lynne emasai.com

    December 6, 2013 at 4:10 pm #77448
    bfoken
    Member

    Thanks for the quick response, I found that section of my CSS and changed the background color, yet the #eeeee8 still showed. I then added !important to see if that changed anything and now the color doesn't change when I hover. Here is the code:

    .genesis-nav-menu > li:hover .sub-menu a:hover,
    .genesis-nav-menu .sub-menu a:hover {
    	background-color: #3aac3a, !important;
    	color: #222;
    }

    Is there a setting elsewhere that is overriding the hover color? Thanks again for the help!

    December 6, 2013 at 4:38 pm #77473
    emasai
    Participant

    There should be no comma between the color and !important


    Need Website Customization or a Responsive CSS fix? Contact Me
    Lynne emasai.com

    December 6, 2013 at 5:58 pm #77479
    bfoken
    Member

    And that did it! Thanks so much for your help, Lynne. Have a great weekend!

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