Personalized checkout and custom promotions with Shopify Scripts
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.
Solved! Go to the solution
This is an accepted solution.
- Here is the result you will achieve:
- 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
This is an accepted solution.
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
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.
liminol.com
- Here is the solution for you @CameronO
- Please follow these steps:
- 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
This is an accepted solution.
- Here is the result you will achieve:
- 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
This is an accepted solution.
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
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025