
How to Create Anchor URLs in Wix Studio – Step-by-Step Guide
If you’ve ever wanted to send someone a direct link that takes them straight to a specific section of your website, anchor URLs are the perfect solution. Whether you’re building with Wix or Wix Studio, this trick is a game-changer for improving user experience and making your site more shareable.
In today’s tutorial from Wix Ideas—your go-to resource for mastering Wix and Wix Studio—we’re going to show you exactly how to create and call URLs in Wix Studio so you can link to specific sections, forms, or even images on your site.
What is an Anchor URL and Why Use It?
An anchor URL is a link that includes a section ID, so when someone clicks it, they’re taken directly to that section of your page—no scrolling required. For example:
https://yoursite.com/page#sectionID
This is perfect for:
Linking to donation forms
Sending customers straight to a pricing table
Highlighting special offers or promotions
Improving navigation for long pages
With Wix Ideas, we’ll show you how to go beyond Wix’s default anchor feature and create shareable, scroll-to links that work anywhere on the internet.
Step-by-Step: Creating Anchor URLs in Wix Studio
1. Identify the Section You Want to Link To
Scroll to the section in your Wix Studio editor. In our example, we used a donation form, but this can be any section or element—even an image.
2. Give the Section an ID
Open the Inspector Panel and find the section’s ID. If you want, rename it to something memorable (e.g., donationForm or specialOffer).
3. Add the Velo Code
To make anchor URLs work, you’ll add a short Velo by Wix script to your site’s masterPage.js file. This code reads your URL, detects the section ID after the hash (#), and scrolls the page directly to it.
Here’s what it does:
Reads the current URL
Checks for a section ID
Automatically scrolls to that section when the page loads
4. Publish and Test
Once your site is published, simply add #sectionID to your page URL and share it. For example:
https://mysite.com/page#donationForm
When visitors open this link, they’ll land exactly where you want them.
Why This Works So Well in Wix Studio
While Wix offers built-in anchors, this Velo-powered method from Wix Ideas gives you more flexibility—making your links usable outside your site too. It’s perfect for marketing emails, social media posts, or any campaign where you want to send people to a specific spot without them having to scroll.
Learn More with Wix Ideas
If you found this guide helpful, you’ll love the rest of our Wix and Wix Studio tutorials at Wix Ideas Tutorials. We cover practical tips, advanced tricks, and creative techniques to make your site stand out.
Need a professional, custom-built site? Get a free quote today at Wix Ideas Quotes.
Want to speed up your design process? Browse our ready-to-use Wix and Wix Studio templates at Wix Ideas Shop.
Wix Ideas is all about helping you master Wix and Wix Studio while building a site you love. If you’re ready to create smarter, faster, and more shareable websites, start exploring today!
Code
Leave a comment (0)
Thanks for leaving a comment🎉