I\'m using this jQuery Script to do Smooth Scrolling (Found on CSS-Tricks.com):
/** Smooth Scrolling Functionality **/
jQuery(document).ready(function($) {
These days you can scroll on page load with only javascript. I like to set a setTimeout
just to give it some time before scrolling.
if (window.location.hash) {
var hash = window.location.hash;
var element = document.querySelector(hash);
if (element)
element.scrollIntoView({
behavior: "smooth",
block: "nearest",
inline: "start",
});
}