How to make product pictures on product page full width on mobile view

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!

Hi @dieuxstudios

Try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@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