How can I reduce the size of my product images for mobile

Solved

How can I reduce the size of my product images for mobile

CameronO
Excursionist
30 1 14

Hi, I want to reduce the size of my product images as they take too much space on mobile and push the add to cart button further down as a result. How do I do this? Thanks.

Accepted Solutions (2)
BSS-TekLabs
Shopify Partner
2350 701 826

This is an accepted solution.

- Here is the result you will achieve:

BSSTekLabs_0-1725793963385.png

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you @CameronO .

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

BSS-TekLabs
Shopify Partner
2350 701 826

This is an accepted solution.

BSSTekLabs_0-1725795178322.png

if you want like that. Can you try this code @CameronO 

<style>
@media only screen and (max-width: 600px) {
.product-media-container.constrain-height .media {
    padding-top: 300px !important;
}
.media>*:not(.zoom):not(.deferred-media__poster-button), .media model-viewer {
    height: 300px !important;
object-fit: fill !important;
}
}
</style>

 

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Replies 5 (5)

Bundler-Manuel
Excursionist
147 8 20

Hello @CameronO i think it would be helpful for you to share your store url link so it can be properly viewed and a solution can be given according to the theme you’re currently using.

Emmanuel
Please let me know if it works by marking it as a solution!
Bundler - Product Bundles app, a great bundle app for Shopify, with glowing user testimonials and a free plan.
CameronO
Excursionist
30 1 14

liminol.com

BSS-TekLabs
Shopify Partner
2350 701 826


- Here is the solution for you @CameronO 
- Please follow these steps:

z5686811214059_e66de1953f1db631f9134af5cdb796ad.jpg

- Then find the theme.liquid file.
- Then add the following code at the before tag </head> and press 'Save' to save it.

<style>
@media only screen and (max-width: 600px) {
.product-media-container.constrain-height .media {
    padding-top: 300px !important;
}
.media>*:not(.zoom):not(.deferred-media__poster-button), .media model-viewer {
    height: 300px !important;
}
}
</style>

 

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
BSS-TekLabs
Shopify Partner
2350 701 826

This is an accepted solution.

- Here is the result you will achieve:

BSSTekLabs_0-1725793963385.png

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you @CameronO .

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
BSS-TekLabs
Shopify Partner
2350 701 826

This is an accepted solution.

BSSTekLabs_0-1725795178322.png

if you want like that. Can you try this code @CameronO 

<style>
@media only screen and (max-width: 600px) {
.product-media-container.constrain-height .media {
    padding-top: 300px !important;
}
.media>*:not(.zoom):not(.deferred-media__poster-button), .media model-viewer {
    height: 300px !important;
object-fit: fill !important;
}
}
</style>

 

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now