joren-rapini
10/16/2019 - 2:18 PM

Easy on page smooth scrolling

usually loaded inside a $(window).on('load', function() { });

adjust the number after .top - to meet your needs in pixels to set the offset height

$(document).on('click', 'a[href^="#"]', function (event) {
	event.preventDefault();

	$('html, body').animate({
		scrollTop: $($.attr(this, 'href')).offset().top - 75
	}, 500);
});