Jump to content

Hyphenation in headers

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Hyphens drive me crazy! I always add this code to any Squarespace site I create:

/* remove hyphens */

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

You can find exact steps and another couple of snippets I use often in my blog post on Custom CSS Every Squarespace Website Needs.

Link to comment

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.