Jump to content

Help with images appearing cropped on mobile site

Recommended Posts

  • Replies 3
  • Views 346
  • Created
  • Last Reply

Top Posters In This Topic

Try adding to Design > Custom CSS

@media screen and (max-width:767px) {
img.ProductItem-gallery-slides-item-image {
    object-fit: contain !important;
}

.tweak-product-basic-item-gallery-aspect-ratio-34-three-four-vertical .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
  • 2 weeks later...
On 12/15/2021 at 10:19 AM, Thetwistedink said:

Thank you! 

 

Now I am having problems with having different sized images appear in full on product pages on the web browser version. Mobile site is fine. 

 

Can you please help me with this?

 

thanks in advance 🙂

 

 

52329D4D-CFD1-4130-BDC8-2A9AD7DBA7FC.png

9469A3DA-415F-492A-8A20-3EB7DC97A928.png

Add to Design > Custom CSS

img.ProductItem-gallery-slides-item-image {
    object-fit: contain !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.