Jump to content

Words breaking into two lines

Recommended Posts

Posted

Im trying to do "buttons" on a website - images with a text on top. This is easy but when resizing the site text (single words) on these is broken into two lines. Example below with "example" as the text:

"Examp

le"

How can this be avoided? Is there a way to force words to stay intact?

  • Replies 1
  • Views 599
  • Created
  • Last Reply
Posted
On 3/18/2021 at 3:00 PM, freelancervillepalmu said:

Im trying to do "buttons" on a website - images with a text on top. This is easy but when resizing the site text (single words) on these is broken into two lines. Example below with "example" as the text:

"Examp

le"

How can this be avoided? Is there a way to force words to stay intact?

You may want to try word-break property

CSS word-break property (w3schools.com)

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> No-code customisations for Squarespace

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.