Nested links

Last Update: May 27, 2025

Links are an important part of navigating a website. Most elements can contain links, making them “clickable” – when you click them, they take you to a different page. One limitation in web design is that you cannot have a clickable element inside another clickable element. These links within links are called nested links.

This most commonly occurs when you make a container (such as a flexbox, grid or div block) clickable and then add a clickable element (such as a button) inside the container. This can break the layout of your page. 

Warning
In the Elementor Editor version 3.x, you receive an error notification in the panel if you try to add a nested link, but the Editor will not prevent you from doing so.

Nested links in Version 4 of the Elementor Editor

To prevent users from creating nested links and breaking their page layout, Version 4 of the Elementor Editor does not allow you to put a clickable element inside another clickable element.

 If you try to add a clickable element inside a clickable element, you’ll see the following warning:
image 73 Nested links 1

  • Click Take me there to open the parent container so you can delete the link.

If you try to add a link to a container that already contains a clickable element, you’ll see the following error message:
image 74 Nested links 3

  • Click Take me there to open the clickable element to remove the link.
Tip
Often creators want to use a button inside a container to draw visitors’ attention and let them know they can click the item, but they want the entire container to be clickable for greater accessibility. In this case, you can make the container clickable but not add a link to the button. This way, if the visitor clicks either the button or container, they will go to the link.
On this page

Share this article