Link Block defaults to Inline

I’m having a really, really, really annoying bug. I have a link block which I want to set to display: block. However, every time I do that and I change whatever attribute (height, width, whatever) it automatically changes the display to inline.

Whyyyyyyyyyyyyyyyyyyyyyyyyy

Checkout the read-only and go to the Work page: https://preview.webflow.com/preview/handplayed?utm_source=handplayed&preview=379dd423db77ad33022984631668ac83

1 Like

Hey @Alex_Tokmakchiev :raised_hands:

You are talking about the Project Link Block Offset or the tab links ?

Project Link Block + Project Link Block Offset. Both are misbehaving. I tried dropping a new link block with no classes. Same stuff.

The weird thing is that sometimes it works and allows me to add attributes, but 90% of the cases it defaults the display to inline.

And I kind of need both to work properly, as they trigger my hover effects + link to my collection pages. :sweat_smile:

P.S. I know my setup is weird, but it’s the only solution I figured out based on what I need to achieve.

1 Like

Link are inline html elements and that’s the reason why the default state is inline.

I understand :smile: You need the whole thing to be clickable and linked to the project page. Why not using the link block as the top level parent, not a div block?

I’m want to understand what you’re trying to achieve.

I like the hack with the offset :grin:

1 Like

Because custom embed can’t be nested inside a link block and my hover video is a custom embed from vimeo. :frowning:

1 Like

Ou yeaaa…Seeing this now actually…

And I can’t use background video, because background video can’t be added as a field in a collection.

And I can’t use video element, because it doesn’t autoplay.

And I need all of this to be controlled via the collection.

Like… This way is the only way. :sweat_smile::sweat_smile::sweat_smile::sweat_smile:

1 Like

I’m trying all properties for the link block and is not changing to inline :smiley:

I’ll make a video for you. Sometimes it works, sometimes it bugs. ¯_(ツ)_/¯

2 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.