Keep Product Images from being the whole screen wide on the Prestige theme

Solved

Keep Product Images from being the whole screen wide on the Prestige theme

Jarch2
Explorer
60 2 15

On mobile devices, the product images take up 100% of the width of the screen. I want it to have some padding around the images so the image would be like 80% the width of the screen. My store is https://mk0uuf-h3.myshopify.com/products/balloon-lamp 

Accepted Solution (1)

Moeed
Shopify Partner
7693 2069 2550

This is an accepted solution.

Hey @Jarch2 

 

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 (max-width: 767px) {
.Product__Slideshow.Carousel.flickity-enabled {
    padding: 25px !important;
}
.Product__SlideshowMobileNav.hidden-lap-and-up {
    margin-top: 0 !important;
}
}
</style>

RESULT

Moeed_0-1747628325738.png

 

If I managed to solve your problem 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


View solution in original post

Replies 3 (3)

BiDeal-Discount
Shopify Partner
785 101 174

Hi @Jarch2 

let try to add this Custom CSS:

@media screen and (max-width: 1007px) {
  .Product__Wrapper .Product__Gallery {
    max-width: 80%;
    margin-inline: auto;
  }
}
- Helpful? Like & Accept solution! Coffee tips fuel my dedication.
- BiDeal Bundle Volume Discounts: Upsell with discount bundles, quantity breaks, volume discounts & mix-and-match bundles. AOV+ with free gifts, free shipping & progressive cart
- Contact me via WhatsApp

Moeed
Shopify Partner
7693 2069 2550

This is an accepted solution.

Hey @Jarch2 

 

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 (max-width: 767px) {
.Product__Slideshow.Carousel.flickity-enabled {
    padding: 25px !important;
}
.Product__SlideshowMobileNav.hidden-lap-and-up {
    margin-top: 0 !important;
}
}
</style>

RESULT

Moeed_0-1747628325738.png

 

If I managed to solve your problem 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


Dan-From-Ryviu
Shopify Partner
11933 2340 2515

Hi @Jarch2 

You can add this code to Custom CSS in Online Store > Themes > Customize > Theme settings to do that.

@media (max-width: 749px) {
.Product__Gallery { padding: 0 24px !important; }
}

Screenshot 2025-05-19 at 11.30.38.png

- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- 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.