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

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

dieuxstudios
Excursionist
14 0 10

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!

IMG_3194.jpeg

IMG_3195.png

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
10133 2404 3038

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;
    }
}
  • And Save.
  • Result:
  • Made4uoRibe_0-1744140040695.png

     

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
dieuxstudios
Excursionist
14 0 10

Hey, unfortunetely it didnt work. can you maybe find an other solution