Decrease the size of product images in shopify

Decrease the size of product images in shopify

Kindergo
Visitor
3 0 2

Hi... my website is shopkindergo.com/products/book and i'm looking for a way to decrease the size of the product images on the product page without decreasing the page width...

 

If anybody knows the solution i would appreciate it if you would share it with me I'll be sure to upvote and mark as accepted solution if it works thanks 🙂

Reply 1 (1)

Made4uo-Ribe
Shopify Partner
8185 1968 2405

Hi @Kindergo 

Check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

@media only screen and (min-width: 749px){
.product__media.media.media--transparent img {
    width: 80%;
    height:80%;
}
.product__media.media.media--transparent {
    padding: 50%;
}
.media>*:not(.zoom):not(.deferred-media__poster-button), .media model-viewer {
    left: 50%;
    transform: translate(-50%);
}
}

 

And Save. 

Result:

Made4uoRibe_0-1727030803550.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 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.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.