Hey There,
The Scroll to Top button is not working because there is a JS error on the page. Please have the JS code updated in the theme options custom JS section and use this:
jQuery(function($) {
$('.scrol-top-advanced a').on('click', function(event) {
event.preventDefault();
setTimeout(function() {
$('.scrol-top-advanced a').css('display', 'none');
}, 1000);
});
});
jQuery('.cp-default-close').on('click', function() {
jQuery('video')[0].pause();
});
jQuery('.wp-side-menu a.wp-side-menu-item').attr('target', '_blank');
jQuery(function($) {
$(document).on('click', '.cp-overlay-close', function() {
$('.rev_slider video').each(function() {
$(this).get(0).pause();
});
});
});
(function($){
$(document).scroll(function() {
var y = $(this).scrollTop();
if (y > 665) {
$('.wp-side-menu').fadeIn();
} else {
$('.wp-side-menu').fadeOut();
}
});
})(jQuery);
//=================================== SMOOTH SCROLLING EXTERNAL ANCHOR //
(function($){
$(document).on("ready", function () {
var urlHash = window.location.href.split("#")[1];
$('html,body').animate({
scrollTop: $('.' + urlHash + ', #' + urlHash +',[name='+urlHash+']').first().offset().top -100
}, 1000);
});
})(jQuery);
// =================================== SMOOTH SCROLLING LOCAL ANCHOR //
(function($) {
$('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 -100
}, 1000);
return false;
}
}
});
})(jQuery);
// =================================== SMOOTH SCROLLING LOCAL ANCHOR
(function($){
$(document).ready(function() {
var elem = $('#_' + window.location.hash.replace('#', ''));
if(elem) {
$.scrollTo(elem.left, elem.top);
}
});
})(jQuery);
Please let us know how it goes.