All things Shopify and commerce
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.
Solved! Go to the solution
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:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
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:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025