We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Show product pictures full screen on mobile

Show product pictures full screen on mobile

JoaquinExcitare
Explorer
55 0 20

Does anybody know how we can adjust the pictures on mobile to full screen without the "zoom in" function above Left?

 

URL: https://excitarestudios.myshopify.com/products/flower-ring-silver

 

 

ThanksIMG_2542.png

Replies 3 (3)

Moeed
Shopify Partner
7764 2082 2568

Hey @JoaquinExcitare 

 

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>
@media screen and (min-width: 768px) {
.product-media-container.constrain-height.media-fit-contain {
    width: 100% !important;
}
}
</style>

RESULT:

Moeed_0-1734370384597.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


made4Uo
Shopify Partner
3877 719 1237

Hi @JoaquinExcitare 

 

I am assuming you have your images in the same ratio. You can follow the instructions below


1. From the Admin page, go to Online Store > Themes
2. Select the theme you want to edit, click the three dots to edit code
3. Under the Asset folder, open the base.css
4. Then place the code below at the very bottom of the file and SAVE

 

 

@media screen and (max-width: 768px) {
.product-media-container.media-type-image.media-fit-contain.global-media-settings.gradient.constrain-height {
    width: 100vw;
}

.grid--peek.slider .grid__item {
    margin: 0 !important;
    width: 100%;
}

.product__media.media.media--transparent {
    height: auto;
    width: 100%;
}
}

 

 

Please see preview below.

made4Uo_0-1734375044563.png

 

 

 

 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free

Dan-From-Ryviu
Shopify Partner
12073 2359 2539

Hi @JoaquinExcitare 

Please add this code to Custom CSS in Online Store > Themes > Customize > Theme settings 

@media (max-width: 749px) {
   body .product__media-list .product__media-item {
        width: calc(100% + 3rem);
    }
   .slider.slider--mobile {
        scroll-padding-left: 0;
        max-width: calc(100% + 3rem);
        gap: 0;
    }
}

Screenshot 2024-12-17 at 11.21.59.png

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.