style: hyphens: auto;
to text elements or use global CSS.lang
attribute on the Body element for accurate language-specific hyphenation.To prevent long words or links from breaking your layout on mobile, you can enable automatic hyphenation in Webflow using native typography controls and minimal custom CSS.
Webflow doesn’t include a built-in toggle for hyphenation yet, so you’ll need to use a small CSS override.
style
hyphens: auto;
This applies inline CSS to that element — hyphens: auto;
enables browser hyphenation based on the user's language settings.
lang
en
, de
, fr
).This helps browsers know how to properly hyphenate based on dictionary rules.
If you want to apply hyphenation globally to all body text:
<style>p, h1, h2, h3, h4, h5, h6 { hyphens: auto; overflow-wrap: break-word; } </style>
This method applies CSS globally without needing to add custom attributes to each element.
To enable automatic hyphenation in Webflow, apply hyphens: auto;
via a custom attribute on your text elements or through a global CSS block. Also, ensure white-space is normal and set the language attribute to improve results on mobile layouts.