May 06, 2019 12:04
Published: March 07, 2018 15:59
or into the app.js or theme.js file to smooth scroll to anchor links on your site. Don't know what an anchor link is? An Anchor link is a link from one spot on the page to another, and normally it just jumps you to that spot, but smooth scrolling shows the user whether they are moving up or down, and is just a nicer experience. here is the code: If you are implementing this in the theme.liquid, add after. If you are putting it into the app or theme.js, paste it as is at the bottom.