• 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

How do I make the mobile nav menu sticky in Eleven 40?

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 › How do I make the mobile nav menu sticky in Eleven 40?

This topic is: not resolved

Tagged: Eleven40, fixed, responsive menu

  • This topic has 3 replies, 2 voices, and was last updated 10 years, 1 month ago by Tom.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • November 4, 2015 at 8:00 pm #170187
    blueman4
    Member

    The nav menu in the desktop version is sticky. How do I make it stay that way in mobile view?

    November 7, 2015 at 11:32 pm #170449
    Tom
    Participant

    Hey, blueman4

    Find the following code in your eleven40 stylesheet, in the 960px media query, around line 1667:

    	.site-header {
    		position: static;
    	}
    
    	.site-inner {
    		margin-top: 0;
    		padding-left: 5%;
    		padding-right: 5%;
    	}

    Replace it with this snippet:

    	.site-header {
    		position: fixed;
    	}
    
    	.site-inner {
    		margin-top: 107px;
    		padding-left: 5%;
    		padding-right: 5%;
    	}

    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

    November 21, 2015 at 11:47 pm #171739
    blueman4
    Member

    I just tried that, but it doesn't seem to work. The menu doesn't stay at the top of the screen on mobile.

    November 22, 2015 at 1:10 pm #171780
    Tom
    Participant

    Link to your site please?


    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

  • 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

© 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