Jump to content

how to turn off hyphenation within a text?

Recommended Posts

Site URL: https://seinsicht.de/arbeit

Hi, 

I'm having a problem with the hyphenation and have already tried all the CSS ideas I found here. On the website I linked is at the left side "triff Reinhold via Zoom". When you shrink the page from one side "Reinhold" is getting "Reinhol" and the "d" is jumping into the next paragraph. Why? Why only there between the seventh and eighth letter? I really would like to stop that. Can anyone help me here?

Thank you! 

Link to comment

It looks like it's  "better". It's staying together much longer but in the end the d jumps into the next row and only after that the side column disappears (due to the settings when the frame becomes too small). 

.... so still no idea how to stop it completely from splitting the word. 

Link to comment
  • 2 years later...

Try adding this to Custom CSS to prevent automatic hyphenation:

// disable automatic hyphenation for headings
h1, h2, h3, h4 {
  hyphens: manual !important;  
  -webkit-hyphens: manual !important; 
  -moz-hyphens: manual !important; 
  -ms-hyphens: manual !important; 
}

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.