• 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 to Unfixed Header 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 › How to Unfixed Header scroll

This topic is: resolved

Tagged: Eleven40-Pro, header design, How to Unfixed Header scroll, Theme header width problem.

  • This topic has 4 replies, 2 voices, and was last updated 7 years ago by Pramod Kumar.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • March 15, 2016 at 1:12 am #181448
    Pramod Kumar
    Member

    I am using eleven40 Pro Theme on my blog Blogging Global. It is one of best Genesis Child Theme. But only one thing i don't like that the eleven40-pro theme header is fixed, that means whenever anyone scroll the page, the header remains always visible. So, the header takes some part the screen. Which sometimes creates a problem for the small screen. So how can I change fixed header to unfixed header.

    http://bloggingglobal.com/
    March 15, 2016 at 7:09 am #181455
    Davinder Singh Kainth
    Member

    1. In style.css file.

    change...

    .site-header {
        background-color: #000;
        left: 0;
        min-height: 65px;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 999;
    }

    to...

    .site-header {
        background-color: #000;
        left: 0;
        min-height: 65px;
        top: 0;
        width: 100%;
        z-index: 999;
    }

    2. Change...

    .site-inner {
        clear: both;
        margin: 65px 0 40px;
    }

    to...

    .site-inner {
        clear: both;
        margin: 0 0 40px;
    }

    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

    March 16, 2016 at 1:38 am #181508
    Pramod Kumar
    Member

    Thanks brother, Its working. But is there any other way, the header scroll few pixels with the page and then become Unfixed.
    Thanks again.
    Blogging Global

    March 16, 2016 at 8:06 am #181547
    Davinder Singh Kainth
    Member

    Possible but would require fair bit of JS script.


    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

    March 16, 2016 at 8:38 am #181552
    Pramod Kumar
    Member

    Thanks for your reply, OK I'm satisfied with the above modification & don't like to use any other javascript.
    Thanks.

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘How to Unfixed Header 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

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