I've done it on my forum and here
http://www.bbsmiley.com/threads/fixed-navbar.394/#post-3528
you'll find some ideas...
#header
{
@property "header";
background-color: @primaryMedium;
@property "/header";
position:fixed !important;
z-index:7000;
-moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
-webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
}
#moderatorBar
{
background-color: @primaryDarker;
border-bottom: 1px solid @primaryLightish;
font-size: 11px;
position:fixed;
z-index:10000;
margin: 0px auto 0px auto;
width:100%
}
#content {
margin-top:20px;
}
<div style="height:20px;"></div>
Maybe you've to be registered. Here it is
Code:#header { @property "header"; background-color: @primaryMedium; @property "/header"; position:fixed !important; z-index:7000; -moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.5); -webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.5); box-shadow: 2px 2px 2px rgba(0,0,0,0.5); } #moderatorBar { background-color: @primaryDarker; border-bottom: 1px solid @primaryLightish; font-size: 11px; position:fixed; z-index:10000; margin: 0px auto 0px auto; width:100% } #content { margin-top:20px; }
Also you've to put in the logo_block template at the very beginning this code
Code:<div style="height:20px;"></div>
and if works perfectly. The only issue is that the little tab at the top right that make the login panel appear, is gone so you've to click on the big orange button to make the panel appear but it works!
We use essential cookies to make this site work, and optional cookies to enhance your experience.