• 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

Fixed Header

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 › Fixed Header

This topic is: not resolved

Tagged: fixed header

  • This topic has 8 replies, 2 voices, and was last updated 12 years, 9 months ago by Colinz.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • January 31, 2013 at 5:47 pm #16894
    Colinz
    Participant

    Hi,

    Hope this post is in the right place, I really miss the old site!!

    I have fixed a header/nav, but also wish to create below that a border-bottom that runs the 1140 px wide. I am unsure how to do this and would be v grateful for some assistance.

    At the moment the default CSS header width is 100%, if I change that to 1140px, I get the border I wish but only whilst the browser is not being 'responsive', but full size.

    .menu-primary, .menu-secondary, #header .menu {

    background: none repeat scroll 0 0 #FFFFFF;
    border-bottom: 1px solid #000000;
    clear: both;
    color: #666666;
    font-family: "futura-pt",arial;
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 0;
    margin-right: auto;
    margin-top: 0;
    overflow: hidden;
    padding-left: 400px;
    position: fixed;
    text-transform: uppercase;
    top: 128px;
    width: 100%;
    z-index: 1;

    }

    http://173.254.51.74/~katecoo3/

    Cheers

    Colin

    January 31, 2013 at 6:05 pm #16904
    SoZo
    Member

    You need to remove the width from #wrap if you want the header div to span the width of the viewport. Then to center the inner elements you add width and auto left/right margins.


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    January 31, 2013 at 6:28 pm #16908
    Colinz
    Participant

    Thanks Sozo

    Did as you suggested ,  but the header nav combo would not come off the left side, despite margin:auto

    January 31, 2013 at 6:52 pm #16910
    SoZo
    Member

    You'll need to leave your edits in place for me to see what's going on.


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    February 6, 2013 at 2:19 pm #18495
    Colinz
    Participant

    You need to remove the width from #wrap if you want the header div to span the width of the viewport.

    Not sure I explained properly.

    The site will remain 1140px wide, unless it is being resized for mobile etc
    I am trying to keep the header area (displaying header and nav) vertically stationary on all pages
    The header/nav combo will remain above the page content when scrolling
    The header/ nav combo should resize when in mobile (responsive mode

    I am trying to remove the horixantal border line that extends beyond the web page to the right

    Thanks, in advance for any help anyone can give me

    February 28, 2013 at 4:18 pm #23372
    Colinz
    Participant

    Hi Sozo,I removed the width from the wrap as you suggested and the margins seem to be set , but the site isn't aligning center in the browser. Anyone with CSS help..please.

    Changes displayed at

    http://173.254.51.74/~katecoo3/

    Colinz

    March 1, 2013 at 2:05 pm #23574
    Colinz
    Participant

    Is there anybody out there, who can help with a CSS issue?

     

    March 2, 2013 at 9:45 am #23752
    Colinz
    Participant

    Can anyone recommend a CSS specialist who can help me, please

    March 4, 2013 at 2:13 pm #24114
    Colinz
    Participant

    Forget it.

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 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

© 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