[ad_1]
There’s a function in the head
of your site that’s causing this – when I view source, I can see it at line 887.
$('a[href^="#"]').click(function () {
$('html, body').animate({
scrollTop: $('[id="' + $.attr(this,'href').substr(1) + '"]').offset().top-50
}, 500);
return false;
});
I strongly recommend removing this; the function will break keyboard accessibility for all in-page links, as it only scrolls the visible position of the page and does not change the actual focus location. If you want an animated smooth scroll, you’re better off using CSS.
https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior
Thread Starter
lupetu
(@lupetu)
Thank you for your prompt and helpful solution!
- This reply was modified 14 seconds ago by lupetu.