All things Shopify and commerce
Current:
Desired:
As you see, everything has gotten slightly pushed up above the fold and the right spacing is now even with all other spacings between all the other photos and thumbnails.
- Here is the solution for you @sunny96x
- Please follow these steps:
1. Go to Online Store --> Theme --> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head> and press 'Save' to save it
<style>
@media only screen and (max-width: 600px) {
.product-media-container {
max-width: calc(96% - calc(var(--media-border-width)* 2)) !important;
}
}
</style>
- Here is the result you will achieve:
- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.
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! Apologies for being a perfectionist but is there anyway to push the next image a little bit to the left so the right gap can be the exact same as the 2 gaps at the bottom?
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025