Jump to content

CSS Hyphens doesn't work

Recommended Posts

Hi there, 

on my website I use my own font and not one from Squarespace. Unfortunately the code to remove hyphens doesn't work and the words are randomly separated in mobile view. You will find an example in the enclosure.

Does anyone have a solution for this problem?

I used the following code:

p, h1, h2, h3 {
  -moz-hyphens: none !important;
  -ms-hyphens: none !important;
  -webkit-hyphens: none !important;
  hyphens: none !important;
  }

 

Thanks in advance!

 

Bildschirmfoto 2023-03-03 um 10.50.20.png

Link to comment
  • Replies 4
  • Views 493
  • Created
  • Last Reply

Top Posters In This Topic

Can you share a link to the site so that we can take a look? 🙂

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

Link to comment
  • 2 weeks later...

I am not seeing this issue on the mobile devices I have checked. Here is an example of what I see:

image.thumb.png.57463a3fab7e4ba7e741826b30e98fb8.png

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

Link to comment

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.