Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #890806
    rhoadesc
    Participant

    On this and a few other pages http://tempmm.joshuawhitaker.com/vickienewman/about-2/testimonials/ when you scroll down then scroll back up to the top, it jumps the content to the right where it overlaps with the right side bar. Can you help?

    I’m running WordPress 4.4.2 running X theme Version: 4.1.0 cornerstone Version 1.1.3

    #891516
    Thai
    Moderator

    Hi There,

    Please add the following code under Customizer > Custom > Global Javascript:

    jQuery(function($){ 
    	$(window).scroll(function(event) {
    		var $current = $(this).scrollTop();
    
    		if( $current == 0 ){
    			$('.x-sidebar').css('position', 'static');
    		} else {
    			$('.x-sidebar').css('position', 'fixed');
    		}
    	});
    });

    Hope it helps 🙂

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