Made in Builder

×

Developers

Product

Use Cases

Pricing

Developers

Resources

Company

Get StartedLogin

Product

Features

Integrations

Talk to an Expert

Pricing

Blog

Home

Resources

Blog

Forum

Github

Login

Signup

×

Visual CMS

Drag-and-drop visual editor and headless CMS for any tech stack

Theme Studio for Shopify

Build and optimize your Shopify-hosted storefront, no coding required

Resources

Blog

Get StartedLogin

Creating and Editing Links

This article shows you how to create and edit links in the following ways:

Creating a link

Opening a link in a new tab

Opening a button's link in a new tab

Linking to content within the same page

In the Builder Visual Editor, select the text block that contains the copy you want to turn into a link and select the Edit button.

Image of a selected text block that says "Create a drag-and-drop site with Builder.io."

Select the text youʻd like to turn into a link.

Select the Link icon.

Enter the destination web address for the link and click Save.

Opening a link in a new tab

To open a link in a new tab, you have a couple of options:

  • Make a whole text block clickable.
  • Edit the link's attributes in the Style tab.

Making a whole text block clickable

These steps configure the entire text block to act as a link, which means you can have one link in the text block that opens in a new tab.

👉 Tip: With this technique, the entire text block acts as a link, which means you can have one link in the text block that opens in a new tab.

If you need more than one link that opens in a new tab, such as in a series of links, use a separate text block for each link. Configure each block according to the steps in this section.

Select the text block that contains the link you'd like to configure. Click on the Options tab.

In the Link URL field, enter the destination URL. Entering the URL causes a checkbox to appear that says, "Open link in a new tab".

Check the Open link in a new tab checkbox to open the link in a new tab or leave the checkbox unchecked for the link to open in the same tab.

Configuring a text block's link in the Style tab

Select the text block that contains the link you'd like to configure. Click on the Style tab and scroll to the bottom.

Expand the Element Attributes section.

In the Tag name field, type a to refer to the HTML anchor element, which is the element that browsers use to recognize links.

Click +New.

In the Property name field, choose href and for its value, add your link. This only configures the link to go to the destination URL, which you might already have if this link has been previously configured. To make the link open in a new tab, add another property called target and set its value to _blank.

👉Tip: For more granular control, your developer can access the HTML of a text block by clicking on the code icon, which is to the left of the Link icon in the text block's Edit dialogue.

Opening a button's link in a new tab

Select the button you'd like to configure and click on the Options tab.

Add your destination web address to the Link field and enable Open link in a new tab by setting the toggle to on.

If you need links that take users to a different part of the same page, you can use hash links in Builder.

Hash links are useful for patterns such as:

  • A table of contents
  • FAQ pages
  • Quickly scrolling a user to the top of a page or to a specific section
  • Linking to a specific part of a page from any other page

The following video walks you through setting up hash links to different sections of a page.

Questions or comments?

Give us a chat, we are quick to respond and here to help!

CHAT US NOW

Was this article helpful?