Jump to content

Customising Product-page image ratios for desktop and mobile.

Recommended Posts

  • Replies 4
  • 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

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
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

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

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.