• 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

Un-stick Header for Monochrome Pro on Mobile Platforms

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 › Un-stick Header for Monochrome Pro on Mobile Platforms

This topic is: resolved

Tagged: monochrome pro, site-header, sticky header

  • This topic has 2 replies, 2 voices, and was last updated 6 years, 3 months ago by _Adam_.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • February 5, 2020 at 12:38 pm #496470
    _Adam_
    Participant

    Hello,

    I'm trying to make the header disappear on Monochrome Pro as you scroll down the page.

    I'm able to achieve this by commenting out "position: sticky;" in the CSS style sheet (see below), however this only un-sticks the header when viewing the website on a desktop web browser. When viewing the page on a mobile platform such as an iPhone, the sticky header is still there as you scroll down.

    For reference, the functionality I have in mind seems to be the same one that appears on this StudioPress support page we're currently on.

    Also, the reason why I want the header to disappear is because it blocks content when using page jump links (such as links from a table of contents).

    Any advice would be appreciated.

    Thanks,
    Adam

    CSS
    .site-header {
    background-color: #fff;
    border-bottom: 1px solid transparent;
    min-height: 80px;
    padding: 10px 40px;
    position: -webkit-sticky;
    /*position: sticky;*/
    top: 0;
    width: 100%;
    z-index: 9999;
    }

    https://allabouthtx.com/
    February 5, 2020 at 10:36 pm #496489
    Brad Dalton
    Participant

    Based on my testing, if you remove the 2 following CSS declarations, it will scroll on all screen sizes.

    position: -webkit-sticky;
    position: sticky;
    

    Tutorials for StudioPress Themes.

    February 6, 2020 at 11:42 pm #496524
    _Adam_
    Participant

    Thanks for the feedback! This is what eventually worked for me:
    .site-header {
    background-color: #fff;
    border-bottom: 1px solid transparent;
    min-height: 80px;
    padding: 10px 40px;
    /*position: -webkit-sticky;
    position: sticky;
    top: 0;*/
    width: 100%;
    z-index: 9999;
    }

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Un-stick Header for Monochrome Pro on Mobile Platforms’ 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

© 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