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

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

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.