• 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

Enterprise pro sticky menu CSS

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 › Enterprise pro sticky menu CSS

This topic is: not resolved

Tagged: Enterprise Pro, sticky menu

  • This topic has 1 reply, 2 voices, and was last updated 11 years, 4 months ago by bartekkregiel.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • September 22, 2014 at 6:53 pm #125394
    apt513
    Member

    I followed the guide at http://my.studiopress.com/tutorials/sticky-menu/

    I cant figure out how to make the secondary menu mimic the primary menu in css.

    In css the only styling i see for the primary menu is;

    .nav-primary {
    background-color: #333;
    }

    .nav-primary,
    .nav-primary a {
    color: #fff;
    }

    .nav-primary .sub-menu {
    border-color: #222;
    }

    .nav-primary .sub-menu a {
    background-color: #333;
    border-color: #222;
    color: #fff;

    If i repeat that for the secondary it doesnt look the same.

    What am i missing?

    http://cincinnati-computer.com/
    September 23, 2014 at 2:53 pm #125475
    bartekkregiel
    Member

    You also need to change the .nav-secondary a:hover and .sub-menu a:hover to color: #31b2ed;

    /* Secondary Navigation
    --------------------------------------------- */

    .nav-secondary {
    background-color: #333;
    display: none;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    }

    .nav-secondary .genesis-nav-menu a {
    padding: 20px;
    padding: 2rem;
    color: #fff;
    }

    .nav-secondary .genesis-nav-menu .sub-menu a {
    padding: 16px 20px;
    padding: 1.6rem 2rem;
    background-color: #333;
    border-color: #222;
    color: #fff;
    }

    .nav-secondary a:hover,
    .nav-secondary .current-menu-item > a,
    .nav-secondary .menu-item-home > a,
    .nav-secondary .menu-item-home > a:hover {
    color: #31b2ed;
    }

    .nav-secondary .sub-menu a:hover {
    color: #31b2ed;


    Hi my name is Bartek and I do websites at Organic WP Shop
    http://www.organicwpshop.com

  • 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

© 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