Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1262546
    [email protected]
    Participant

    Hi
    On my inner pages, there is a gap on the fixed top. http://tatyanakozh.staging.wpengine.com/shirts/

    You can see it as you scroll down.

    #1262557
    [email protected]
    Participant

    The top is also covering buttons on the first load of the page. Here is a good example

    http://tatyanakozh.staging.wpengine.com/customise-polo-shirts/

    #1262720
    Nabeel A
    Moderator

    Hi there,

    Thanks for writing in! Please add the following code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:

    .x-navbar.x-navbar-fixed-top {
        top: 0 !important;
    }

    Then add the following jQuery script in your Customizer via Appearance > Customize > Custom > Edit Global Javascript

    function navigation_fix() {
    	jQuery('header.masthead.masthead-inline').css('height', jQuery('.x-topbar').height() + jQuery('.x-navbar').height());
    }
    jQuery(document).ready(function(){
    	navigation_fix();
    });
    jQuery(window).resize(function(){
    	navigation_fix();
    });

    Don’t forget to clear your browser’s cache after adding the code. Let us know how this goes!

    #1262791
    [email protected]
    Participant

    perfect, thanks!

    #1262986
    Nabeel A
    Moderator

    Glad we could help 🙂

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1262546 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>