ShuiFeng Posted September 23, 2022 Share Posted September 23, 2022 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). Thanks. div#block-yui_3_17_2_1_1663950227242_11793 a { padding-right: 4em !important; white-space: nowrap; } Link to comment
ShuiFeng Posted September 23, 2022 Author Share Posted September 23, 2022 I found it. I had this code in my Custom CSS regarding medium buttons. Commented out width: 165px so I could still keep a minimum button size and the issue is resolved. .sqs-block-button .sqs-block-button-element--medium { width: 165px !important; min-width: 155px !important; } tuanphan 1 Link to comment
Smartyart Posted October 18, 2022 Share Posted October 18, 2022 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! Link to comment
tuanphan Posted October 22, 2022 Share Posted October 22, 2022 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
foo Posted March 1 Share Posted March 1 I haven't thoroughly tested this yet, but it seems to work with fluid engine: .sqs-block-button-element--large, .sqs-button-element--secondary, .sqs-block-button-element { white-space: nowrap; } TLCDesigns 1 Link to comment
kennlucas Posted Saturday at 03:32 PM Share Posted Saturday at 03:32 PM @Smartyart , Did you get this fixed? I have the same problem and am kinda starting to lose it. Link to comment
ShuiFeng Posted Sunday at 03:49 AM Author Share Posted Sunday at 03:49 AM @kennlucas Setting the button to "fit" instead of "fill" under the Design tab for the button's settings also resolves the issue if I remember correctly. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment