Jump to content

Can't Remove Hyphens in Mobile?!

Recommended Posts

Posted

I'm working on a 7.0 Brine website & I added this CSS to remove all hypens:

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

The hyphens are gone when I preview the site in Squarespace, but on mobile in Chrome & Safari, the hypens are still rendering and I'm not sure why, I've tried everything even setting a max-screen width of 640px to remove them, but they still show up. Any help would be appreciated!

  • Replies 2
  • Views 305
  • Created
  • Last Reply
Posted
p,
h1,
h2,
h3 {
  -webkit-hyphens: none !important;
  -moz-hyphens: none !important;
  -ms-hyphens: none !important;
  hyphens: none !important;
}

 

Posted
3 hours ago, rwp said:

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

 

This worked, thank you!!

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.