Thanks Vladimir for putting me into the right direction.
But this code only nearly works.
You would have to put the additional quotes only to the “#scroll-top” not the whole “href=#scroll-top”.
The code would look like this now:
jQuery(document).ready(function ($) {
$('a[href="#scroll-top"]').click(function () {
$('html, body').animate({
scrollTop: 0
}, 'slow');
return false;
});
});
This should work now and restore the scroll-top functionality while preserving other wp plugin logic.
But thanks again for putting me into the right direction! ??
Could the theme developers deploy this solution, once it is confirmed as a valid solution?