• 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 Primary & Secondary Nav Cafe 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 Primary & Secondary Nav Cafe Pro

This topic is: not resolved

Tagged: cafe pro, navigation menu, sticky nav

  • This topic has 4 replies, 2 voices, and was last updated 10 years, 11 months ago by Tenns.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • February 20, 2015 at 1:24 pm #141525
    Tenns
    Member

    Right now the Cafe Pro theme has sticky primary nav, so when you scroll down it sticks to the top and the site title shrinks into the primary nav menu as well. However, the secondary nav menu (the one at the top of the page) isn't sticky at all, so if someone wanted to have it as their main nav menu they would loose the effect.

    I know some of the sticky nav is controlled by CSS, as well as jQuery. I wanted to know if there was a way to have both menu locations be sticky and do the same thing as far as shrinking the site title in the menu as they scroll down the site. This way they wouldn't be stuck with only using the primary nav menu location. Is this even possible?

    Any insight is greatly appreciated!

    February 21, 2015 at 8:09 am #141634
    Victor Font
    Moderator

    Try adding position: fixed; to the secondary nav css.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    February 23, 2015 at 8:59 pm #141971
    Tenns
    Member

    The position: fixed class didn't work unfortunately, nor does it take care of the jQuery side of the house when it comes to the coding. I assume the jQuery would need to be re-written to include both primary and secondary navigation locations, as well as the CSS for secondary navigation.

    February 23, 2015 at 10:10 pm #141975
    Victor Font
    Moderator

    position: fixed is not a class. It is a css directive that gets inserted into the secondary-nav class. jQuery does not have to be touched. Nav position is controlled entirely by css.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    February 24, 2015 at 2:09 pm #142048
    Tenns
    Member

    Adding the position fixed does make it stick, but it doesn't make the site title shrink like it does with the primary navigation location. I think that's the part that's controlled by the jQuery that would need tweaking.

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