Streaming live at 10am (PST)

The length of text link underline


#1

Hi, does anyone know how to change the length of the underline under a text? Right now it is the same length as the column. I want it to be the same length as the text.


Here is my site Read-Only: **LINK**https://preview.webflow.com/preview/fashion-store-cd4cb0?preview=9ac880b28955706acc3fcb536bc5206f(how to share your site Read-Only link)


#2

This is because you have the link ‘All Links’ element set to ‘display: block’ which causes the link to span the full width of the parent.

Set the display type to be ‘inline-block’ on that element and the box will shrink to fit the content rather than fit the parent. After you do that, you may want to apply ‘text-align: center’ to the parent element (column) to re-center the text.

More on the css display properties here - https://css-tricks.com/almanac/properties/d/display/


#3

:woman_facepalming: I should have caught that, thanks.