Website Building » Wix » How Do I Link to an Anchor in Wix?

How Do I Link to an Anchor in Wix?

Last updated on September 30, 2022 @ 11:55 pm

Linking to an anchor in Wix can be done in two ways: through the code editor or through the Wix interface.

To link to an anchor through the code editor, first create the anchor using the tag. Then, add an id attribute to the anchor.

The value of the id attribute should be the name of the anchor. For example, if the anchor is named “top”, then the id would be “top”.

PRO TIP: There is currently no way to link to an anchor in Wix. This means that if you have any content on your Wix site that you want to link to, you will not be able to do so. This could potentially cause problems for people who are trying to navigate your site.

Once the anchor is created, you can link to it from anywhere on the page using the a href attribute. The value of the href attribute should be “#anchorname”, where “anchorname” is the value of the id attribute of the anchor. For example, if the anchor’s id is “top”, then the href would be “#top”.

To link to an anchor through the Wix interface, go to the page where you want to link to the anchor. Then, click on the chain icon in the toolbar.

This will open a dialog box where you can enter the name of the anchor. Once you have entered the name of the anchor, click onOK and then save your changes.

Morgan Bash

Morgan Bash

Technology enthusiast and Co-Founder of Women Coders SF.