hyphens: auto
, overflow-wrap: break-word
, and appropriate word-break
to the target element via custom CSS if needed.lang
attribute (e.g., en
) is correctly set on the <body>
or container element.You're trying to automatically hyphenate long words in the "NDIS Services" section of your homepage, but applying a CSS rule to the <h3>
hasn't worked. Here's how to correctly set up hyphenation in Webflow.
hyphens: auto;
on the specific element (e.g., <h3>
or any other tag).word-break: normal;
or word-break: break-word;
(depending on design needs).overflow-wrap: break-word;
is applied to help with natural line breaking.lang
) being set properly.<body>
or page-level wrapper, then:en
for English).lang
, auto-hyphenation will not apply.If you used the Webflow Designer to apply CSS but it's not working, try injecting the CSS manually.
Go to Project Settings > Custom Code > Head and add:
``
Or, if you're targeting a class (e.g., .ndis-heading
), use that instead of h3
.
hyphens: auto
if lang
is properly set.To auto-hyphenate long words in the "NDIS Services" section, apply hyphens: auto
with proper lang
attributes, use supportive CSS properties like overflow-wrap: break-word
, and ensure you're using hyphen-friendly fonts. Add your styles via custom code if the Designer isn’t applying them correctly.