The community members are discussing the equivalent of Bricks Builder's .clickable-parent utility class in WebStudio, which makes an entire element, such as a card, clickable even if the link is only placed within the heading inside the card.
One community member suggests putting the card inside a link block and assigning the URL. Another community member shares a better approach, which involves setting the card to position: relative, adding a link inside the card, and then adding an element inside the link that is position: absolute and inset: 0, making the entire card clickable while the actual link is being clicked.
A community member has created an issue to track this feature request in the WebStudio repository.
I’d like to know what it’s called in WebStudio, the equivalent of Bricks Builder’s .clickable-parent utility class, which makes an element, such as a card, fully clickable, even if the link is only placed within the heading inside the card.
add an element inside that link that is position absolute and inset: 0, so it takes the entire space of the card and makes it clickable, while the actual link is being clicked