Hyperlink section

Learn how to use Link blocks to turn any element, like an image, or any layout, like a banner, into a link.

Connecting blocks are akin to Division blocks as they can be utilized for organization and arrangement, but the content inside the Hyperlink area transforms into a link. Hyperlink blocks have the capability to convert any element, such as a picture, or any layout, like a poster, into a link.

A diagram illustrates a Div Block and a Link Block side by side. Both contain an image, heading, and paragraph text.

In this tutorial:

  1. Integrate a Hyperlink block
  2. Include additional components within the Hyperlink block
  3. Establish the link type
  4. Customize the Hyperlink block
  5. Transform a Division block into a Hyperlink block and vice versa

Insert a hyperlink block

Hyperlink Block icon thumbnail

To include a Hyperlink block in your project, access the Elements Panel (shortcut: A) in the left sidebar, and drag a Hyperlink block element onto your page.

The five elements in the Basic section are Division Block, List, List item, Hyperlink Block (highlighted), and Button.

Incorporate elements into the Hyperlink block

Any component, except for other hyperlinks, can be dragged into the Hyperlink block, either from the Add panel or from the canvas.

A hyperlink block containing an image of pink flowers, a sub-heading "Photography," and an H1 "Flowers".
PRO TIP: Other hyperlinks cannot be nested inside a hyperlink block, but you can insert a text block component and style it to resemble a button or use your button class.  

Determine the link type and value

Similar to Text links and Buttons, Hyperlink blocks offer the same link choices — URL, webpage, collection page (when relevant), page section, email, phone, and file. Learn more about link settings.

The Link settings panel presents six icons for link types, a URL text field, a check box for "Open in new tab," a drop-down menu for Preload, and a show all settings button.
For a Hyperlink block, you can also access the link settings by selecting the element and pressing enter.

Design Hyperlink blocks

Hyperlink blocks are just as versatile as Division blocks when constructing designs and frameworks. They are frequently employed to craft layouts, such as a list of blog entries, that link to other pages.

Customize the hover state of Hyperlink blocks

Hyperlink blocks are interactive, so it’s recommended to apply a distinct hover state on the Hyperlink block to indicate to users its clickability. Follow these steps to modify the hover state:

  1. Select the Hyperlink block
  2. Tap on states and opt for hover
  3. Add a box shadow or any other style attribute
  4. Create a transition for the box shadow attribute or any other style attribute modified in the hover state
The states dropdown menu in the class selector section displays five different states, none, hover, pressed, focused, and visited.
Step one on the left, pick the box shadows effect. Step two on the right, the box shadows settings panel showcases type, angle, distance, blur, size, and color configurations.

Experiment with altering the background image on hover:

  1. Incorporate a background image to the Hyperlink block
  2. Access States > Hover
  3. Modify the background image
  4. Return to the default state
  5. Create a transition for the background image attribute

Replace the blue text

By default, when any text is situated inside a Hyperlink block, it shows up in blue and underlined since that’s the standard text style on all link tags.

You can alter the default link style on a specific Hyperlink block by modifying the text decoration and font color:

  1. Select the Hyperlink block
  2. Visit the Style Panel
  3. Adjust text decoration to none
  4. Change the font color to black
The typography section of the style panel displays a highlighted area exhibiting black text and the none style selected in the decoration..
Setting the text decoration on the text element itself to “none” will not remove the underline from the text. To eliminate the underline, you’ll need to style the Hyperlink block directly.

Convert a Division block into a Hyperlink block and vice versa

Changing Hyperlink blocks to Division blocks and vice versa is advantageous when you realize you mistakenly used a division block instead of a hyperlink block to cluster elements. It’s also handy to swiftly switch one for the other if the block’s functionality needs alteration.

On the left, the Convert to Hyperlink block button is highlighted in the Division block settings panel. On the right, the Convert to Division block is highlighted in the Hyperlink block settings panel.

Convert a Hyperlink block to a Division block

To transform a Hyperlink block into a Division block, right-click on the Hyperlink block and convert it to a Division block.

Convert a Division block to a Hyperlink block

To change a Division block to a Hyperlink block, right-click the Division block and convert it to a Hyperlink block.

Take note that if your Division block includes any hyperlink element, you’ll encounter an error and the conversion to a Hyperlink block won’t be possible. This is because nesting links is not supported. You must first remove all hyperlink elements nested in the Division block, or convert Hyperlink blocks back to Division blocks.

Ewan Mak
Latest posts by Ewan Mak (see all)