Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1294788
    kisschicken
    Participant

    In Safari and Firefox, my website jumps around when you scroll to the very top. It happens on every page. Not sure what it is. URL is https://pristine.io

    #1294804
    Nabeel A
    Moderator

    Hi there,

    Thanks for writing in! Please add the following jQuery script in your Customizer via Appearance > Customize > Custom > Edit Global Javascript

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

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

    #1294826
    kisschicken
    Participant

    Wow, you’re the best. Thanks!

    #1294845
    Nico
    Moderator

    Happy to hear that.

    Feel free to ask us again.

    Thanks.

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