Click on Menu Navigation animate to that Section You only need to add this one line of code. $('html').css("scroll-behavior", "smooth");