Jump to content

Customising Product-page image ratios for desktop and mobile.

Recommended Posts

  • Replies 4
  • Views 216
  • Created
  • Last Reply

Top Posters In This Topic

1 hour ago, practice said:

Site URL: http://practice.cat

Hi everyone,

I would like to display the images of our products with a landscape 16:9 ratio crop on desktop, but on mobile want it to switch to 3:4 vertical crop. Essentially choosing different ratios for mobile and desktop. Can anybody help me with this?

Screenshot 2021-10-09 at 00.18.33.png

Screenshot 2021-10-09 at 00.18.46.png

Kindly share your direct url to product page

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 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
21 hours ago, practice said:

Try adding to Design > Custom CSS > Then save & reload the site

@media screen and (max-width:767px) {
.tweak-product-basic-item-gallery-aspect-ratio-169-widescreen .ProductItem-gallery-slides:before {
    padding-bottom: 133.3333% !important;


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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.