freelancervillepalmu Posted March 18, 2021 Share Posted March 18, 2021 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? Link to comment
Beyondspace Posted March 22, 2021 Share Posted March 22, 2021 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) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.