Jump to content

Product image aspect ration on mobile

Recommended Posts

Product page. Image displays as square on desktop, good.  But, on mobile the aspect ratio displays as 3:2 (I think) and the image is cropped to fit, no longer round. Screenshot attached. 

How do I get mobile image to display as square? Is there a setting I've missed?

product image aspect ration on mobile.png

Edited by GlennieS
Link to comment
  • 2 weeks later...

Add to Design > Custom CSS

/* Mobile product image */
@media screen and (max-width:767px) {
.tweak-product-basic-item-gallery-aspect-ratio-169-widescreen .ProductItem-gallery-slides:before {
    padding-bottom: 100% !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
  • 4 weeks later...

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.