F'in sweet
webflow hacks
webflow hacks
#
15

Remove anchor link id tag and # on urls within the same page

Example use cases

  • You have a one-page website that relies on anchor scrolling
  • You are using any type of anchor scrolling on any page
  • You like clean urls and never want a /#section-name in the url

Tags

Javascript
User Experience

Video walkthrough

Email yourself this video, so you could watch it later

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Live example

Code breakdown

Inside <head> tag
Before </body> tag
Success Page: Before </body> tag
F'in sweet
webflow hacks
Clonable Project
All of our hacks are packed into one clonable Webflow project
This is Hack
#
15
in the project
Clone project on webflow
Let's CHAT
Subscribe to our youtube channel
Subscribe
Stay updated with
F'in sweet
webflow hacks
Subscribe to email updates