Jump to content

Increase size of product image on mobile

Recommended Posts

Site URL: https://wvcharge.squarespace.com/waev-charge-store/p/waev-charge-ev1-wifi

Is it possible to increase the product image size on mobile views? I have put the below code in to stop cropping however it now seems very zoomed in and small: https://wvcharge.squarespace.com/waev-charge-store/p/waev-charge-ev1-wifi 

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

Thank you

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 4/13/2022 at 4:17 PM, HG-Design said:

Site URL: https://wvcharge.squarespace.com/waev-charge-store/p/waev-charge-ev1-wifi

Is it possible to increase the product image size on mobile views? I have put the below code in to stop cropping however it now seems very zoomed in and small: https://wvcharge.squarespace.com/waev-charge-store/p/waev-charge-ev1-wifi 

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

Thank you

can you check your link again?

image.thumb.png.40250bd64ad9ae4086e0fa7083641950.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 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

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.