Add

Lorem ipsum

Lorem ipsum

A
A
A
CMS & Logic

1 views

4 min

Add link anchors to your CMS collections in Webflow

Introduction

ElementCustom attribute / IDValue
Embed link (source)href#{Slug} from the CMS field
Embed target (destination)id{Slug} from the same CMS field

In this tutorial, Sandro, cofounder of the Gemeos Webflow agency, shows you how to add anchor links with your CMS collections in Webflow.

Webflow doesn't support dynamic anchors with the CMS, but there's a workaround: use the embed component, build your own button, and dynamically pull the anchor from your collection.

Here's how to do it! ✌🏼

1. Insert an "embed" element where you want to create a link to the anchor element

Set the link using the CMS "slug" field. You can use any other CMS field for this, or even create an extra field, but the "slug" field does the job.

2. Add an "embed" element inside your CMS collection 

Set the ID to the same CMS field you used in step 1 (the {slug} in my case)

good to know

Make sure your Slug field values don't contain spaces or special characters that would break the anchor link. In 2026, Webflow still doesn't offer native support for dynamic CMS anchors in the Designer.

3. Test the result

You can test the result directly in the Webflow editor

Good to know

Heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Lorem ipsum dolor sit amet consectetur.

Lorem ipsum dolor sit amet consectetur. Aliquam orci sagittis dignissim sapien praesent donec.

Lorem ipsum

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Published on 10.04.2025

You might be interested in these tutorials

Similar tutorials

SEO / GEO

5 min read

5 views

How to Set Up a Redirect in Webflow? (2026)

Updated on 19.12.2025 by Sandro DA SILVA

SEO / GEO

5 min read

5 views

Add structured data to your Webflow site?

Updated on 21.08.2025 by Sandro DA SILVA

No-code

5 min read

5 views

How to Obfuscate a Link in Webflow

Updated on 23.04.2025 by Sandro DA SILVA

Let’s f*****G GO !!

Ready to launch
Your business?

Alexandre

Max

Enora

Bryan

Cannelle

Tiphaine

You'll :heart: our collaboration...