vB4 Sticky Top Bar

  • Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Radio

    ven0m

    Administrator
    Staff member
    Administrator
    Moderator
    Platinum
    xenForo 2.x.x
    xenForo 1.x.x
    Contributor
    vBulletin All Access Pass
    The Chest
    Verified
    Ultra Platinum VIP
    Platinum VIP
    Gold VIP
    Silver VIP
    Premium
    Member
    Jul 17, 2005
    20,471
    7,711
    321
    localhost
    Heisenberg submitted a new resource:

    - Sticky Top Bar

    vB Version: 4.2.1

    This can work in a more simple way and act in the general navbar too.

    Template Navbar

    as line number 2 paste
    <div id="stickyBar">

    additional.css

    Code:
    #stickyBar.stick {
      position: fixed;
      top: 0;
      z-index: 10000;
      width:1200px;
      height:59px;
      margin:0 auto;
      background: #247FB2;
      border-radius: 0 0 0.5em 0.5em;
      display: block;
    }

    Width is set to the width you have on the side or 100% (my page is width:1200px
    Set the height of the...

     
    Last edited: