This is a very useful snippet. Give it a click class at the “.nav_button” Then give it a element ID at “#main_slide”
$( ".nav_button" ).click(function(event) { $('html,body').animate({scrollTop: $("#main_slide").offset().top},'slow'); });