Hi there,
URL: andrejewelry.com
Password: Thankyouverymuch121
I would love the pictures on the product page on mobile to fill the whole screen. Now you can see some parts of other pictures:
Thanks!
A Shopify store owner seeks to make product images fill the entire mobile screen width, eliminating white space on the sides.
Initial Problem:
Attempted Solutions:
.product__media-list and .slider--mobile elementsResolution:
Status: Resolved. The product images now display full-width on mobile devices as intended.
Hi there,
URL: andrejewelry.com
Password: Thankyouverymuch121
I would love the pictures on the product page on mobile to fill the whole screen. Now you can see some parts of other pictures:
Thanks!
Hi @AndreaHuang
Please go to your Online store > Themes > Edit code > open theme.css file, add this code before tag
Hi @AndreaHuang ,
Here is the solution to your problem.
Open your theme, Edit code, search for the base.css file
Paste the following code to the end of your file:
@media screen and (max-width: 749px) {
#MainContent .slider.slider--mobile {
scroll-padding-left: unset;
}
#MainContent .product__media-list .product__media-item {
width: calc(100%);
}
}
Hope it helps @AndreaHuang
Nothing changed here:(
Hi I tried but nothing changed:(
Hey @AndreaHuang ,
Paste this code to the end of your base.css file:
@media screen and (max-width: 749px) {
.slider.slider--mobile {
scroll-padding-left: unset !important;
}
.product__media-list .product__media-item {
width: 100% !important;
}
}
@BSS-Commerce Still nothing changed ![]()
Could you add the cde again so I can help you to check?
Please try to update code to this and check again
@Dan-From-Ryviu This is perfect! Big big thanks ![]()
@AndreaHuang , you are very welcome ![]()