• 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

add sticky / fixed menu to ExecPro (like MinPro)

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 › General Discussion › add sticky / fixed menu to ExecPro (like MinPro)

This topic is: not resolved

Tagged: executive pro, position relative, site-header

  • This topic has 5 replies, 4 voices, and was last updated 11 years, 9 months ago by Chrissy Marquardt.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • September 19, 2013 at 2:22 pm #63434
    ronsplace
    Member

    How can I make the Executive Pro .site-header fixed (sticky?) like Minimum Pro?

    If I add .site-header {position: relative; } the menu flies off to the right (or left depending what I hack 🙂 ).

    Help appreciated !!

    September 19, 2013 at 2:27 pm #63438
    Brad Dalton
    Participant

    Site header or site menu?

    Try

    .site-header {
    position: fixed; 
    }
    

    Tutorials for StudioPress Themes.

    September 20, 2013 at 6:32 am #63513
    ronsplace
    Member

    Thanks Brad, I meant "fixed" 🙂 (I will not work late at night, I will not work late at night, I will not work late at night ...)

    So, I haven't completely fixed the menu yet ... I just removed the "float-right" for the time being.

    So far my steps have been:

    1) add padding-top to .site-inner: (original CSS is tabbed, my additions / edits are non-tabbed)
    .site-inner {
    -moz-box-shadow: 0 0 0 1px #fff;
    -webkit-box-shadow: 0 0 0 1px #fff;
    background-color: #fff;
    box-shadow: 0 0 0 1px #f2f2f2; (changed this from #fff so a white line doesn't show on the left of my logo)
    clear: both;
    margin: 0 auto;
    overflow: hidden;
    padding-top: 100px;
    padding-top: 10rem;
    }

    2)
    .site-header {
    background-color: #f2f2f2;
    margin: 0 auto;
    min-height: 100px;
    width: 100%;
    position: fixed;
    z-index: 999;
    }

    3) change / add color f2f2f2 to :
    .title-area {

    4) remove float: right; in /* Site Header Navigation:
    .site-header .genesis-nav-menu {
    /* float: right; */
    width: auto;
    }

    and it looks quite good I think... maybe not quite as nice as Minimum Pro ... but ...

    by the time you read this it should be live at ronis-schluessel.de

    (and now I see that the logo doesn't center on small screens, sigh ...)

    September 20, 2013 at 8:14 am #63521
    Regina Smola
    Participant

    Hey Ron,

    Looks like you're missing the max-width, which is causing it to spread across the page.

    I got it to work on the new Executive Pro theme with the following:

    .site-header {
    margin: 0 auto;
    min-height: 100px;
    width: 100%;
    position: fixed;
    z-index: 999;
    max-width:1140px;
    background-color: #f2f2f2;
    border-bottom: 1px solid #eee;
    }

    .site-inner {
    -moz-box-shadow: 0 0 0 1px #fff;
    -webkit-box-shadow: 0 0 0 1px #fff;
    background-color: #fff;
    box-shadow: 0 0 0 1px #f2f2f2;
    clear: both;
    margin: 0 auto;
    overflow: hidden;
    padding-top: 100px;
    padding-top: 10rem;
    }

    I did not touch any floats.

    Hope that helps.


    ~ Regina Smola
    http://www.wpsecuritylock.com

    September 20, 2013 at 10:17 am #63532
    ronsplace
    Member

    Hi Regina,

    for me that only fixes my float-right problem on a wide screen ...

    February 17, 2014 at 5:34 pm #90867
    Chrissy Marquardt
    Member
    This reply has been marked as private.
  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘General Discussion’ 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

© 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