Add link anchors to your CMS collections in Webflow
Introduction
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)

3. Test the result
You can test the result directly in the Webflow editor

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.

.avif)














