Jump to content

Adaptable button width with Fluid Engine

Recommended Posts

Hi everyone,

I'm realising that buttons' width are dependent on Fluid's Engine grid, which means I can't truly control their width and left and right padding. If I do add left and right padding via CSS or Site Styles, then the text goes over two lines in some cases, which doesn't look good, and if I make the button larger editing the block with Fluid Engine, then it's too large because I'm stuck with the grid's dimensions (i.e. ~70px on each side instead of the desired 40px). Is there any way to work around this?

Thanks!

Screen Shot 2022-11-30 at 2.48.27 pm.png

Screen Shot 2022-11-30 at 2.50.17 pm.png

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

58 minutes ago, elisagilis said:

Hi everyone,

I'm realising that buttons' width are dependent on Fluid's Engine grid, which means I can't truly control their width and left and right padding. If I do add left and right padding via CSS or Site Styles, then the text goes over two lines in some cases, which doesn't look good, and if I make the button larger editing the block with Fluid Engine, then it's too large because I'm stuck with the grid's dimensions (i.e. ~70px on each side instead of the desired 40px). Is there any way to work around this?

Thanks!

Screen Shot 2022-11-30 at 2.48.27 pm.png

Screen Shot 2022-11-30 at 2.50.17 pm.png

Can you share your site with protected password so I can take a look?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

In the button settings you can change it from Fill to Fit, then you can control the padding settings in PX. Be aware that the button will still get squashed if the grid area it takes up becomes narrower than the max size.

image.png.d7be477b80e8a59bfe62f09678c2b1b4.png

Please like and upvote if my comments were useful to you. Thanks!

Zygmunt Spray
Squarespace Website Designer
Contact me: https://squarefortytwo.com/ 
🔌Ghost Squarespace Plugins (Referral link)
Buy me a coffee

Link to comment

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.