• 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

CSS mess in Modern Portfolio Pro menus

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 › CSS mess in Modern Portfolio Pro menus

This topic is: resolved

Tagged: css, menu, Modern Portfolio Pro

  • This topic has 3 replies, 2 voices, and was last updated 6 years, 4 months ago by CeeInTx.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • March 30, 2016 at 12:05 pm #182540
    CeeInTx
    Participant

    I have spent hours trying to figure this out but I have met my match!

    I've moved the home page menu down into the top widget and I'm almost happy with that one.

    But I need to get the internal menus to match the home page.

    On the internal menus, what is the CSS that is causing the menu item to go to a black background on hover?

    Many thanks in advance!

    http://www.trustingyouareloved.com/sandbox/
    March 30, 2016 at 12:41 pm #182545
    carasmo
    Participant

    Line 1043 in your main style.css

    .genesis-nav-menu .sub-menu a:hover {
    	background-color: #222;
    	color: #fff;
    }
    

    Genesis Theme Customization and Help

    March 30, 2016 at 2:17 pm #182549
    CeeInTx
    Participant

    Thank you so much!

    However, that code is not controlling that function any more. I have commented out the original css on line 1043, I've added custom code at the bottom of the main css file, I've added custom code in My Custom CSS file, I've tried adding !important...

    Nothing I can find is what is actually calling for that black background and I've searched in Firebug and Inspect Element for hours.

    So weird!!

    Any other ideas?

    Many thanks!

    March 30, 2016 at 2:49 pm #182551
    CeeInTx
    Participant

    I found it!!! Halleluya!

    in the main style.css, line 1121:

    .nav-primary .genesis-nav-menu a:hover, .nav-primary .genesis-nav-menu .sub-menu .current-menu-item > a:hover {
    background-color: #222;
    color: #fff;
    }

    I had tried using the :hover search function in Firefox before but couldn't find this. But there it is!

    screenshot

  • 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

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