Anchor links are great in a landing page as it lets a visitor jump between sections and helps boost overall user experience.
To set up an anchor link:
Identify the section you want to anchor to and click on that section
On the right side panel, click on “Anchor Target”
If you have a sticky header, add an offset top so the anchor takes into account the sticky header.
Next, go to the element you want to add the link. You can link to the following element types:
Ensure that the link type is “Anchor Link”
If you have multiple anchor links in an asset, ensure that the “Anchor Link” value is correct.
Video
Here's a walkthrough video on how to add an anchor link:
Troubleshooting
When you change the name of an anchor link after creating an asset from a theme, the anchor link value does not automatically update. To ensure everything points to the correct link, you'll see an "Optimize" message prompting you to update the value. This step is important to keep other elements on the page properly linked.
To update your anchor link:
1. Change the anchor name to reflect the new value.
2. Go to the Optimize tab and click “Update” to apply the new anchor ID.
Need more help? Contact support via live chat within Knak using the chat bubble in the bottom right corner or email support@knak.com