Shopify themes, liquid, logos, and UX
Hi there,
Sense theme > Product page
I am trying to display the second image of the product in the gallery however, I see it cropped like this only. I edited the width size to 80% to fit my website design, but I would like the second image to appears more than this. I tried everything, I can't figure it out.
I guess it's related to overflow-x settings but I need help for this
Solved! Go to the solution
This is an accepted solution.
Hey @mdzzzz555
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>
.product__media-list .product__media-item {
width: 60% !important;
}
.slider.slider--mobile {
width: 100% !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hey @mdzzzz555
Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.
Best Regards,
Moeed
sure! here it is :
bpiu0d-ih.myshopify.com
password : tattua
Check product page called (Emarati Medwakh with 2 pictures for test)
This is an accepted solution.
Hey @mdzzzz555
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>
.product__media-list .product__media-item {
width: 60% !important;
}
.slider.slider--mobile {
width: 100% !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Wonderful, thank you very much!!!
Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.
Hi @mdzzzz555,
Please go to Actions > Edit code > Assets > base.css file and paste this at the bottom of the file:
@media screen and (max-width: 749px) {
.product__media-list {
width: 100% !important;
}
.product__media-list .product__media-item {
width: calc(70% - 3rem - var(--grid-mobile-horizontal-spacing)) !important;
}
}
Learn 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, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025