• 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 Menu — Remove when resolution is below 600px

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 Menu — Remove when resolution is below 600px

This topic is: resolved

Tagged: menu, sticky menu

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 6 months ago by eef.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 11, 2014 at 1:07 pm #84641
    eef
    Member

    I used the tutorial for the sticky menu to add one to my website: http://eefdesigns.com

    What I'd like to do is have it work normally, but when the resolution drops below 600px or so (like if someone is visiting my website on a phone) have it disappear so that it's not taking up the entire screen! What is the best way to accomplish this?

    Thank you!

    http://eefdesigns.com
    January 12, 2014 at 10:08 am #84772
    Robin
    Member

    You can tackle it with CSS in one of two ways, I think. Add this to the media query section where you do not want the sticky menu behavior anymore:

    .nav-secondary {
    		display: none !important; /* option one */
    		position: relative; /* option two*/
    	}

    The first option will hide the sticky menu altogether on small screens, which is fine since it's the same as the primary. The second option keeps the sticky menu but it overlays the primary. They might notice it on scrolling, but they might not. Try both and see if they work for you. HTH


    I do the best I can with what I’ve got. (say hey on twitter)

    January 12, 2014 at 11:08 am #84781
    eef
    Member

    Thanks! I tried display: none yesterday and it worked on my computer but not my phone--so I thought there had to be something I was missing... but today it works, so perhaps just a chaching issue. All set now! Thanks!

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