Black Friday Sale! Save up to 50% off!

different hyphenations on different views

Website-Rookie
43 Posts
Website-Rookie posted this 13 September 2024
Ask a Question

Hi there!
Is there a way to work with hyphenation? Or use a code, that hyphenates in one view and does not in the others?
If I hyphenate manually with a "-", the "-" naturally appears in the middle of the text in the other views.
Sometimes you just don't get a visually pleasing result if you have very long words, as in German.
Or can I put two text fields (manually splitted differently) in the same place, one above the other, so to speak, and hide the one that doesn't fit in the other views?
Can you understand what I mean?

Hi there! Is there a way to work with hyphenation? Or use a code, that hyphenates in one view and does not in the others? If I hyphenate manually with a "-", the "-" naturally appears in the middle of the text in the other views. Sometimes you just don't get a visually pleasing result if you have very long words, as in German. Or can I put two text fields (manually splitted differently) in the same place, one above the other, so to speak, and hide the one that doesn't fit in the other views? Can you understand what I mean?
Vote to pay developers attention to this features or issue.
4 Replies
Order By: Standard | Newest
Website-Rookie
43 Posts
Website-Rookie posted this 13 September 2024

Update: the two different text fields seem to work, that would be a good solution if it looks just as good when publishing later :-))

If there is a smarter solution or a reason NOT to do it this way, I would be grateful for an answer.

Update: the two different text fields seem to work, that would be a good solution if it looks just as good when publishing later :-)) If there is a smarter solution or a reason NOT to do it this way, I would be grateful for an answer.
Support Team
Support Team posted this 13 September 2024

Hello Christian,

Thanks for contacting us!

Nicepage doesn't have a built-in hyphenation algorithm.

However, you can use CSS to enable hyphenation for specific elements.
Add the following CSS property to the element you want to hyphenate: word-break: break-word; hyphens: auto;

You can fine-tune the hyphenation behavior using CSS properties like
hyphens: auto|manual|none; and hyphenate-limit-lines: integer;.

You can try and hope it helps.

...................................................
Sincerely,
George.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello Christian, Thanks for contacting us! Nicepage doesn't have a built-in hyphenation algorithm. However, you can use CSS to enable hyphenation for specific elements. Add the following CSS property to the element you want to hyphenate: *word-break: break-word; hyphens: auto;* You can fine-tune the hyphenation behavior using CSS properties like *hyphens: auto|manual|none; and hyphenate-limit-lines: integer;.* You can try and hope it helps. ................................................... Sincerely, George. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
Website-Rookie
43 Posts
Website-Rookie posted this 13 September 2024

I'll definitely try that, too, thanks for the fast and helpful reply.
But it may take some time before I can give a feedback about it.

For the beginning I'm quite happy with my "hiding elements"-idea. 🙂

I'll definitely try that, too, thanks for the fast and helpful reply. But it may take some time before I can give a feedback about it. For the beginning I'm quite happy with my "hiding elements"-idea. 🙂
Support Team
Support Team posted this 13 September 2024

Hello Christian,

We hope this information helps you achieve the desired hyphenation effect in your Nicepage project.

If you encounter any further issues or have questions, please don't hesitate to contact us.

...................................................
Sincerely,
George.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello Christian, We hope this information helps you achieve the desired hyphenation effect in your Nicepage project. If you encounter any further issues or have questions, please don't hesitate to contact us. ................................................... Sincerely, George. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments