Hey there,
I want to make the product photos on my product page full width, but don’t know how. My store url is: dieux.store and the example of how I want it is like on the second picture. Thank you very much in advance!
A user wants to make product images display at full width on mobile devices for their Shopify store (dieux.store). They provided reference images showing the desired layout.
Proposed Solution:
Another user suggested adding custom CSS code to the theme’s stylesheet (base.css, style.css, or theme.css) targeting mobile screens (max-width: 749px). The code aims to:
Current Status:
The CSS solution did not work as expected. The issue remains unresolved, and the original poster is seeking alternative solutions.
Hey there,
I want to make the product photos on my product page full width, but don’t know how. My store url is: dieux.store and the example of how I want it is like on the second picture. Thank you very much in advance!
Try this one.
@media only screen and (max-width: 749px){
.product-media-container.media-type-image.media-fit-contain.global-media-settings {
max-width: 100%;
width: 100%;
}
.grid--peek.slider .grid__item:first-of-type {
margin-left: 0 !important;
}
.product__media-list .product__media-item {
width: 100% !important;
}
}
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Hey, unfortunetely it didnt work. can you maybe find an other solution