Theme Support Forum

Support Forum for Free and Premium Themes. Premium Theme Forums are Private! Please log in first to see the Premium forums

Viewing 3 posts - 1 through 3 (of 3 total)

Fixed Primary Nav Menu

Home Forums Free Theme Support Triton Lite Fixed Primary Nav Menu

  • #388920

    Colin Day

    Fantastic theme and outstanding support.

    I wanted to make the primary nav menu at the top of the page always stay at the top of the window even if the user scrolls down … essentially make the menu fixed at the top of the screen.

    Others have wanted to do this, and I found a forum reply in here with the following instructions:
    #masthead .fake{position: fixed;z-index: 99999999;}
    #header{margin-top:50px;}

    This does make the menu “floating” and “fixed” at the top, but the rest of my page content is no longer centered in the fluid size content window and is instead always anchored to the left of the page. I’m using the no sidebar template if that makes a difference.

    http://www.roguewizards.com

    #389103

    Towfiq I.

    administrator

    Colin,

    You will have to add this too:

    #content {width: 100%;float: left;}

    Thanks

    #389188

    Colin Day

    Works like a charm … thank you so much 🙂