Hi there,
It’s because of your custom javascript which prevents the default behavior of a link. Please change this javascript
jQuery(function($){
$('a[href*="#"]').off('touchend click');
$('a[href*="#"]').on('touchend click', function(e) {
e.preventDefault();
var id = $(this).attr('href').split("#").slice(-1)[0];;
var theid = $("#" + id);
console.log(theid);
if (theid.length === 0) {
return;
}
var pos = theid.offset().top;
$('body, html').animate({scrollTop: pos}, 2000, 'easeInOutQuart');
return false;
});
});
to this
jQuery(function($){
$('a[href^="#"]').off('touchend click');
$('a[href^="#"]').on('touchend click', function(e) {
e.preventDefault();
var id = $(this).attr('href').split("#").slice(-1)[0];;
var theid = $("#" + id);
console.log(theid);
if (theid.length === 0) {
return;
}
var pos = theid.offset().top;
$('body, html').animate({scrollTop: pos}, 2000, 'easeInOutQuart');
return false;
});
});
Then that code will make sure that it’s only implemented for relative URLs.
Thanks!