How to reduce product photo size & increase spacing between current and next photo (dawn theme)

How to reduce product photo size & increase spacing between current and next photo (dawn theme)

sunny96x
Explorer
49 0 18

Current:

BAD.png

 

 

Desired:  

GOOD.png

 

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.

 

Website: https://shopstellory.com/products/sticky-inserts

Replies 2 (2)

BSS-TekLabs
Shopify Partner
2350 702 828

- 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:

BSSTekLabs_0-1727884731371.png

 

- 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


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
sunny96x
Explorer
49 0 18

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?

sunny96x_0-1727926484476.png