Product image automatically expanding

Solved

Product image automatically expanding

umang007
Visitor
1 0 1

Hi, I seem to have landed in a problem which is probably because I added some custom code or fiddled around, here's the problem : 
On mobile, if a product has more than 1 image, and if I scroll to second to third image, the image automatically expands leaving a very bad overall design impression. 

Attaching the website link : https://www.giftingbonsai.com/products/personalized-pen-diary-combo?_pos=1&_psq=diary&_ss=e&_v=1.0

 

Please check on mobile and swipe to second or third image and in a few seconds it expands. 

Accepted Solution (1)

Moeed
Shopify Partner
7704 2070 2550

This is an accepted solution.

Hey @umang007 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
@media screen and (max-width: 767px) {
.grid--peek.slider--mobile .grid__item {
    box-sizing: border-box !important;
}
}
</style>

RESULT:

Moeed_0-1734327528974.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Reply 1 (1)

Moeed
Shopify Partner
7704 2070 2550

This is an accepted solution.

Hey @umang007 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
@media screen and (max-width: 767px) {
.grid--peek.slider--mobile .grid__item {
    box-sizing: border-box !important;
}
}
</style>

RESULT:

Moeed_0-1734327528974.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications