XF 1.4 (FIXED)navigation/header

Hi,

somewhere in your code you have this:
Code:
@media (min-width: 800px)
#navigation.pageWidth {
  padding-left: 188px !important;
}

Remove that left padding and it wil show like this:
upload_2015-4-26_12-40-28.webp
 
e8dbb17131e7ec7e74e941709069c61b.png


See here only in the middle, is it possible to get it so its like this site

Website
 
Yes, you need JavaScript to do it. I solved the problem on your site with:
Code:
    <script>
    $(window).scroll( function() {
        if ($(window).scrollTop() > $('.fixedNavigationWrapper').offset().top)
            $('#navigation').addClass('fixed');
        else
            $('#navigation').removeClass('fixed');
    } );
    </script>
Code:
#navigation.fixed
{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}
 
Back
Top Bottom