Jump to content

Button Word Wrap

Recommended Posts

Site URL: https://shuifeng.squarespace.com

My button text is word wrapping to the next line and I need it to stop (figure #1) - I need all the text on the same line (figure #2).
This was not an issue in 7.1 without the Fluid Engine; when I created a button all the text would just elongate the button (figure#2)
In Fluid Engine the button text is word wrapping/stacking. How can I get them to not word wrap for all buttons, sitewide?

The only solution I've found so far is the below code, but I'd have to do it with every single button with extended text. The padding would vary depending on the length of the text (which is less than ideal). 


div#block-yui_3_17_2_1_1663950227242_11793 a {
    padding-right: 4em !important;
    white-space: nowrap;


Button word wrap.png

Link to comment
  • 4 weeks later...
On 10/18/2022 at 8:34 AM, Smartyart said:

I am having the same issue, but I haven't added any Custom CSS to my site yet! It's brand spanking new, and it's totally maddening! Using the code you suggested for a temporary fix! 

If you share link to page where you have problems, we can take a look to see which reason caused this

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 4 months later...
  • 2 months later...

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.