• 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

Sticky Nav Not Showing up until scroll

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 › General Discussion › Sticky Nav Not Showing up until scroll

This topic is: not resolved
  • This topic has 4 replies, 2 voices, and was last updated 9 years, 7 months ago by Christoph.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • August 17, 2016 at 11:50 pm #191508
    plentyvegan
    Member

    I implemented the instructions here (http://my.studiopress.com/tutorials/sticky-menu/) for my Genesis, Divine child theme on my staging site.

    The secondary nav is sticking but it only ever appears as you scroll. So, when you first load the page, there is no top secondary nav (with cart, acct, checkout in my case) until you scroll.

    Any ideas what might be missing?

    http://plentyvegan.staging.wpengine.com/
    August 18, 2016 at 7:47 am #191527
    Christoph
    Member

    Hi,

    if you want the secondary nav to be visible all the time, you don't need the jQuery (sticky-menu.js).
    In .nav-secondary change display: none; to display: block;
    and increase the first value of margin in .site-container


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

    August 18, 2016 at 11:03 am #191548
    plentyvegan
    Member

    Thanks so much, Chris.

    Duh.

    August 18, 2016 at 2:03 pm #191554
    plentyvegan
    Member

    Oh, it occurs to me that it makes more sense to have my primary navigation (below logo) stick to the top of the page after scrolling...

    Any good resources for that?

    August 18, 2016 at 5:14 pm #191564
    Christoph
    Member

    Take a look at http://leafo.net/sticky-kit/


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

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘General Discussion’ 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