Articles on: Features

How to Create an Anchor (Jump) Link to scroll on click

In this guide, I'll tell you how to add such a cool feature to the page of your site as scrolling down to a component.


Scroll on click on unicornplatform.com

To scroll down to a component by a link or a button, you should find the ID of the component, уou want to scroll to. You can find it in the component editor.




Component editor


You should also find the URL of the page where the component is located.

URL of a page

Then as a URL of your link or button, you should put an address of the page. Be sure to start with /. + the component ID which starts with #






Edit component. Call to action buttons


That's it! Now your link will scroll down to an element.

Updated on: 17/11/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!