Lesson info

Webflow's link blocks are similar to div blocks in that they can be used for structure and layout, but differ in that the area inside of the link block becomes a link. Link blocks can turn any element into a link.

In this video, we’ll be covering how to:

  1. ‍Add a link block to your project
  2. ‍Add other elements inside the link block
  3. ‍Set the link type
  4. Style the link block

Assets

Want to follow along with this lesson? Fortunately, we created a zip file which contains all the assets used in the project, and we've included that link 

right here
.

Transcript

Link Blocks are just like Div Blocks: but with a Link Block, the area inside the block becomes a link.

If you have an image, for instance. Something you’ve dropped right into your project and you want to make sure that anyone who clicks or presses on that image gets taken to a link? Simply drag in a Link Block, and move that image inside. And in this, or any Link Block, when it's selected, if we go over to our Element Settings Panel, we can set that link to an external URL, or a different page in our project, or another section on the current page, or we can configure links to start up an email or even a phone call.

Now it’s really easy to drag content right into the Link Block. But you might notice that doing that — when we drag text (paragraphs, headings, all sorts of text) — text elements instantly turn into visible links. That is: they’re styled in blue with an underline. This is the default way we display links, right? So how do we override that default link color?

Select the parent element (the Link Block itself) and make those style changes.

In this case, we've already created a class here which we've applied to the first two link blocks. From our new link block, let’s remove the class we've just created and apply the same class we used on the other link blocks...here.

Again, if we go over to Preview, our link blocks are ready to take us wherever we tell them to.  

So. Link Blocks: Just like Div Blocks. The area inside the block…becomes a link.

Related tutorial

Link block

1:23