Hi Folks,
I need help with linking and automatic scroll of my navbar.
What I try to achieve is to change page when clicked for example on “contact” and scroll to that specific section. Right now it is jumping to that without a scroll. But i would like the process to be.
Click on contact
Load contact page
scroll to contact form section
Right now it is like
click on contact
Contact form section appears.
Is there a built in feature for that or do I have to use custom code?
THanks, i already used that. My issue is focusing on adding a smooth animation. I don´t want the section to appear immediately. What you describe I did achieve with the flow mentioned in the first post.
Modern Browsers detect the hash in the url and then automatically open that part. So, if you want to scroll smoothly to that part instead, you first need to reset the scroll position to 0 and then add smooth scrolling. (Full answer below)
Did you get it to work? looking to achieve this aswell. Surprised 4 years later there still is no smooth scroll and only teleport links. Very bad view for onepagers…