Jump to content

product pictures cropped in mobile

Recommended Posts

hi, i just started my squarespace website and i'm facing some problems on mobile with auto cropping of my product images. tried a couple of codes from other threads but none have worked so far. here's how it looks like on mobile with the "simple" layout:

 image.thumb.jpeg.55a49379766e0df86bfbf696434d4418.jpeg

anybody have any idea how to get it to dynamically adjust based on mobile screen size or cap it so it doesn't get cropped out?

website here if it helps

Edited by caffienate
Link to comment
  • caffienate changed the title to product pictures cropped in mobile
  • Replies 5
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

What page is this happening on? The image didn't appear to be cropping where I was looking.

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
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) 
 🖼️ Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Try are cropping, I was looking at the wrong page. Try this Custom CSS:

.tweak-product-basic-item-gallery-aspect-ratio-23-standard-vertical .ProductItem-gallery-slides:before {
    padding-bottom: 100% !important;
}

 

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
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) 
 🖼️ Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

thanks @Ziggy it worked on mobile and it's perfectly centered now!

just one issue - the code seems to have caused the product images to shift down on desktop.

image.thumb.png.2b5ad48f297cc2fd9464dbc6095f3fd3.png

when the page first loads, all is well. the moment i scroll, the images will move down by one spot. any idea how we can fix this? if not i can always just switch to carousel as that seemed to solve the issue! 

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.