text-underline-offset
and text-decoration-thickness
via Page Settings or Embed Code.border-bottom
with padding-bottom
for a visually similar but non-semantic underline effect.To increase the space between text and underline and adjust underline thickness in Webflow, you’ll need to use custom styling since Webflow’s built-in text decoration options are limited.
text-decoration-thickness
and text-underline-offset
CSS properties.Example of styles you can include:
text-decoration-thickness: 2px;
text-underline-offset: 6px;
Add a class to the text element (e.g., custom-underline
).
Then, go to your Page Settings → Inside <style>
tags in the code or use a “Before ” Embed block and add:
<style> .custom-underline { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; } </style>
Replace values as needed for your specific design.
border-bottom
instead of text-decoration
.Pros:
Cons:
text-decoration: underline
To adjust underline spacing and thickness in Webflow, apply custom CSS using text-underline-offset
and text-decoration-thickness
, or simulate the effect with border-bottom
and padding-bottom
. These options provide full control over the underline appearance.