-
AuthorPosts
-
February 8, 2016 at 10:10 pm #786490
Hi There,
Please try to remove this code first:
/*Smooth Scrolling*/ $('a[href*=#]:not([href=#])').click(function() { if (location.pathname.replace(/^//,'') == this.pathname.replace(/^//,'') || location.hostname == this.hostname) { var target = $(this.hash); target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); if (target.length) { $('html,body').animate({ scrollTop: target.offset().top }, 1000); return false; } } });
There’s a syntax error for that code.
Then update this code:
jQuery(document).ready(function($) { $('.x-slider-container.below .x-slider-scroll-bottom').click(function(e) { e.preventDefault(); var $contentBand = $(this).attr('href'); $('html, body').animate({ scrollTop: $("#x-content-band-2").offset().top-250 }, 850, 'easeInOutExpo'); }); });
To this:
jQuery(document).ready(function($) { $('.x-slider-container.below .x-slider-scroll-bottom').click(function(e) { e.preventDefault(); var $contentBand = $(this).attr('href'); $('html, body').animate({ scrollTop: $("#x-content-band-1").offset().top-250 }, 850, 'easeInOutExpo'); }); });
Hope this helps.
-
AuthorPosts