• 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

News Pro Menu Color Change

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 › News Pro Menu Color Change

This topic is: resolved

Tagged: hover, menu color, News Pro

  • This topic has 2 replies, 2 voices, and was last updated 11 years, 3 months ago by kdgjevre.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 29, 2014 at 12:06 am #87618
    kdgjevre
    Member

    Can you please help me with a color change on the menu. I think currently the CSS does not treat hover over the main menu differently than hover over the sub menu.

    What i would like to do is if you hover over the menu option Become a Specialist - and your mouse is still pointing to Become a Specialist I would like the text on the sub items to be a darker color. But if i change the hover color it also changes the main menu option. I want the main menu option to STAY white as it is in hover state but the sub menus to have a different text color while i am hovering over the main menu.

    Thank you for the help.

    http://bas.sharonbroughtonteam.com/
    January 29, 2014 at 2:53 am #87631
    Jeremy
    Participant

    The nature of CSS (cascading style sheet) means styles that are lower on the style-sheet over-rule styles above.

    Looking at your style.css the active property for the submenu is on line 1167 while the active property for the main nav is on 1772.
    Therefore even though you are styling the sub-menu with a darker color the main nav color over-rules due to it's position on the stylesheet.

    Two ways you can fix.
    1. Either move the sub styling so it lies below line 1172 .news-pro-pink .genesis-nav-menu a {color: #ffffff;}
    2. Add !important to the color: property below. This is the easy fix but it's not best practice to use !important too often.

    .genesis-nav-menu .sub-menu a {
    background-color: #d2dce9;
    border: 1px solid #e3e3e3;
    border-top: none;
    padding: 12px 24px;
    padding: 1.2rem 2.4rem;
    position: relative;
    width: 200px;
    color: #333 !important;
    }


    If you want to say thanks Follow me on Twitter | My Website

    January 29, 2014 at 7:59 pm #87758
    kdgjevre
    Member

    Thank you for the great explanation. I learned something. 🙂

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