• 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

Changing static/fixed header to scroll

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 › Changing static/fixed header to scroll

This topic is: resolved

Tagged: fixed, header, static

  • This topic has 7 replies, 2 voices, and was last updated 11 years, 7 months ago by PrayersNApples.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • November 18, 2013 at 10:02 am #73949
    PrayersNApples
    Member

    Right now, whenever your scroll down my page, the header (with the navigation bar) stays static. Is there a way to change that so that the page just scrolls normally (with the header disappearing when you scroll down far enough?)

    http://prayersandapples.com
    November 18, 2013 at 1:27 pm #73995
    nutsandbolts
    Member

    Yep. Find this in your stylesheet:

    .site-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    letter-spacing: 1px;
    letter-spacing: 0.1rem;
    position: fixed;
    width: 100%;
    z-index: 999;
    }

    And replace it with this:

    .site-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    letter-spacing: 1px;
    letter-spacing: 0.1rem;
    width: 100%;
    z-index: 999;
    }

    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    November 18, 2013 at 2:29 pm #74013
    PrayersNApples
    Member

    Thanks! Worked like a charm 🙂 The only problem is now there's a white space between the navigation bar and and the site tagline on pages other than the home page (i.e.: http://prayersandapples.com/blog). Any way to get rid of that?

    November 18, 2013 at 2:55 pm #74020
    PrayersNApples
    Member

    Just noticed: It looks fine on my work PC (using internet explorer). The white space is only appearing on my Mac (in Safari and FIrefox).

    November 18, 2013 at 3:00 pm #74021
    PrayersNApples
    Member

    Wait never mind it's happening everywhere (sorry!) - I just wasn't seeing it right.

    November 18, 2013 at 3:01 pm #74023
    nutsandbolts
    Member

    Find this in your stylesheet:

    .site-tagline {
    background-color: rgb(0, 51, 51);
    background-color: rgba(0, 51, 51,.8);
    margin-top: 60px;
    margin-top: 6rem;
    padding: 20px 0;
    padding: 2rem 0;
    }

    And remove the margin-top rules to get this:

    .site-tagline {
    background-color: rgb(0, 51, 51);
    background-color: rgba(0, 51, 51,.8);
    padding: 20px 0;
    padding: 2rem 0;
    }

    That should fix it but let me know if it messes up something else - sometimes CSS changes can cause a domino effect!


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    November 18, 2013 at 3:16 pm #74026
    PrayersNApples
    Member

    Is there anyways perhaps to fill that white space with my background image? Like they did here: http://www.oliviarosecosmetics.com/why-olivia-rose/ ? I wouldn't need the image above the navigation bar - just filling in the newly created white space. (Sorry for not getting all this in my first reply!!) 🙂

    November 18, 2013 at 3:54 pm #74039
    PrayersNApples
    Member

    Perfect! Worked great! 🙂 Thanks so much!! 🙂

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Changing static/fixed header to scroll’ 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

© 2025 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