• 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 Secondary Nav Menu in Parallax Pro

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 › Sticky Secondary Nav Menu in Parallax Pro

This topic is: resolved

Tagged: Secondary Navigation, sticky menu

  • This topic has 2 replies, 2 voices, and was last updated 7 years, 8 months ago by jbendiner.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • May 19, 2015 at 9:49 pm #152851
    jbendiner
    Member

    I successfully repositioned the secondary nav menu in my site above the header.
    it currently shows: Home - Our Blog - EspaƱol.

    All that is left is to make it sticky!

    I have tried adding 'position: fixed' and 'position: static' to the style.css but neither have worked.
    i suspect the solution is simple, but can't figure it out... and would love to get this working.
    Thanks!

    http://www.logisticsnetworkdesign.com

    http://logisticsnetworkdesign.com/
    May 20, 2015 at 5:55 am #152879
    James
    Participant

    Hi jbendiner

    try this

    body.gppro-custom .nav-secondary {
      background-color: #000;
      position: fixed;
      width: 100%;
      z-index: 1;
    }
    May 20, 2015 at 1:16 pm #152942
    jbendiner
    Member

    Jamie, worked like a charm... thank you!!!!

    I am relatively new to Genesis, and not an expert coder but I do 'know my way around', so I am curious...
    what is this 'body.gppro-custom' class?
    I looked for it in function.php and documentation and couldn't find something meaningful.

    Regards,
    Jerry

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Sticky Secondary Nav Menu in Parallax Pro’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

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