I used soft hypens like (&+shy+;+) in a Webflow Project without a Collection. I placed them manually and It worked fine!
A Gift for German texts. Because in German there are really long words.
Like “Webseitengestaltungsproblematiken” or even longer Ones. And yeah: On Mobile this can be a huge problem.
But with my new Project i need Collections and there the soft hypens don’t work.
Either in H1-H6 or P Tags nor in Richtext.
Any suggestions?
Thanks, Boris
PS: the old Design Help Forum Post «Add a soft hypen entity» is closed without any solution.
Hi all,
I’m also in need of this solution. When hand-coding, it’s obviously easier to insert special characters, but with Webflow this is an issue right now.
I am working on a German language responsive site right now, and with words which need hyphenating (in the right place) when the text areas get reduced, this is causing really ugly line breaks and overflowing text.
I hope this can somehow be resolved.
Keep up the great work!
Steve
Hey Vincent,
Sure, attached a few here. I have the container elements set to overflow-hidden, but you can see the longer words need hyphenating, and with German the hyphens need to break the words in the right places. Manually inserting a soft hyphen would allow this, I believe?
Steve
Thanks for the help, but if i set manually soft-hyphens in the Collection-Fields they convert to regular text. This happens in the designer and in the editor mode.
On Text without a Collection behind it, the soft-hypens work. Except in Richtext fields.
Even without the code-snippet.
Yes I wanted it also for titles only — but my text is rich text, so it appears not to work. Webflow, any possibility of getting this into a usable option in Rich text blocks also?
I insert this as custom code in the project settings header and i also
set my language code to «de» for german. (which i haven’t done before)
It’s just right after the custom code section.
NICE solution, sir! Thanks for posting. I have implemented this into the German site I was having long word hyphenation issues with, and it’s hyphenating. I don’t believe it’s hyphenating according to rules, it seems more random or generic. But some hyphenation is currently better than none…
Are you seeing the German words hyphenating as expected?
I tried the custom code both in the general site custom code option and on the page specific custon code option. I did change the “my-class” part of the code. I also set the language code to es and also tried spa.
I created a class named Hyphenation and added only to some select CMS generated titles.
Hi there! I found your entry regarding hyphenation. I have the same problems.
If I want all h1 has hyphenation, I have to set the language and insert in the custom code section: