• 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 Mobile Nav on 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 Mobile Nav on Cafe Pro

This topic is: not resolved

Tagged: cafe pro, mobile, navigation, sticky

  • This topic has 3 replies, 3 voices, and was last updated 11 years, 5 months ago by cindyjw.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • December 27, 2014 at 4:25 pm #135426
    Adam Whitaker
    Participant

    The primary navigation bar in Cafe Pro is sticky on the desktop view. As you scroll down the page, the navigation docks to the top of the screen.

    I understand that some may not like the feature of the nav bar docking at the top of the screen due to the limited screen space on mobile. However, in this instance, I am looking to accomplish just that.

    Is there a way to make the navigation bar sticky on mobile devices?

    December 28, 2014 at 10:37 am #135475
    rfmeier
    Member

    Adam,

    To make the navigation bar stick on mobile as it does desktop, you will need to edit your style.css file;

    or, if you want it at the very top, change you style.css like below;

    https://gist.github.com/rfmeier/0e586532461e1ca35242


    Ryan Meier – Twitter

    December 28, 2014 at 10:41 am #135477
    rfmeier
    Member

    Also, if you just want it at the very top, you can edit you style.css file as follows;

    https://gist.github.com/rfmeier/0e586532461e1ca35242


    Ryan Meier – Twitter

    March 11, 2015 at 9:45 am #144019
    cindyjw
    Member

    That code works great except that Centric Pro snaps back to close on top where the menu on Cafe Pro with your code leaves the menu open covering up the content so then I have to touch the menu again to close it. Is there something to add to make the menu close once you choose a menu item?

  • 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