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?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 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

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 helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

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.