I have the skills, and am still on stock style, so yes that would be awsome!!
<div id="menucontainer" class="navstatic <xen:if is="{$visitor.is_moderator} || {$visitor.is_admin}">modbarmargin</xen:if>">
<div id="menuleft" class="navstatic">
<div class="navTabs">
<script type="text/javascript">
jQuery(document).ready(function ($){
$(window).bind('scroll', function() {
var navHeight = ( $(window).scrollTop() );
if (navHeight > 160) {
$('#header').addClass('navfloat');
XenForo.updateVisibleNavigationTabs();
}
else {
$('#header').removeClass('navfloat');
XenForo.updateVisibleNavigationTabs();
}
});
});
</script>
#header.navfloat
{
top: -48px !important;
position: fixed !important;
box-shadow: white 0px 20px 20px;
z-index: 10000;
}
<script type="text/javascript">
jQuery(document).ready(function ($){
$(window).bind('scroll', function() {
var navHeight = ( $(window).scrollTop() );
if (navHeight > 160) {
$('#header').addClass('navfloat');
$('#moderatorBar').addClass('navfloat')
XenForo.updateVisibleNavigationTabs();
}
else {
$('#header').removeClass('navfloat');
$('#moderatorBar').removeClass('navfloat');
XenForo.updateVisibleNavigationTabs();
}
});
});
</script>
<div id="header" class="<xen:if is="{$visitor.is_moderator} || {$visitor.is_admin}">modbarmargin</xen:if>">
#header.navfloat
{
top: -50px !important;
position: fixed !important;
z-index: 10000;
box-shadow: white 0px 20px 20px;
}
#header.navfloat.modbarmargin
{
top: -25px !important;
}
#moderatorBar.navfloat {
position: fixed;
top: 0px;
width: 100%;
z-index: 10001;
}
<xen:if is="@enableResponsive">
@media (max-width:@maxResponsiveNarrowWidth)
{
#header.navfloat
{
box-shadow: none;
}
}
</xen:if>
We use essential cookies to make this site work, and optional cookies to enhance your experience.