Jump to content

Maintain aspect ratio of square images in responsive design

Recommended Posts

Ever since the change to fluid engine, I'm having trouble with square shaped images. I think it has to do with flexbox but I'm not sure how to fix it... I have images, such as the one on the Homepage and the four on the About page, that I want to appear as square, even when the size of the screen changes. Instead, the aspect ratio of the image changes with the responsiveness.

I know I can create sections using the classic builder to achieve this, but does anyone have a workaround for fluid engine?

Thank you in advance!


site: https://sistersnacking.squarespace.com/

pw: 20reformette23



Link to comment

Typically you need to set the image to FIT rather than FILL and adjust the block alignment. FIT means that the image doesn't crop so should maintain it's aspect ratio.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
Hire me on Upwork!

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

 Did I help? 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.