Product images zoom full screen on desktop, how can I reduce to 50%? Dawn Theme

Product images zoom full screen on desktop, how can I reduce to 50%? Dawn Theme

robehs
Visitor
2 0 1

Hi there, I've looked through all previous queries about this and can't seem to find a suitable answer.

I'm setting up my store in the Dawn theme and I've found that when clicking a product image to zoom, it enlarges it full screen (my product images are 1000x1000 so this makes them appear blurry as well) which is way too big. 

In the customize theme settings, there's only the option to turn off the zoom (lightbox) not make it smaller. 

 

Is anyone able to tell me where in the code I can edit to reduce the size of the zoom either by % or some other factor?


shop url: https://shop.elitehs.au
pass: athopi

 

Thanks in advance

fullscreenimagezoom2.png
fullscreenimagezoom.png

 

Replies 3 (3)

GTLOfficial
Shopify Partner
538 113 107

HEllo @robehs 
Go to online store ----> themes ----> actions ----> edit code ----> assets ---->section-main-product.css
add this code at the end of the file.

@media screen and (min-width: 750px) {
.product-media-modal__dialog .global-media-settings--no-shadow {
height: 50% !important;
width: 50% !important;
}
}

result
1.png

If this was helpful, hit the like button and accept the solution.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh
robehs
Visitor
2 0 1

Thank you! That appears to have worked for desktop however mobile still seems to zoom huge, is there another string of code that will fix the mobile side?

Thanks in advance

EFOLI-Syn
Shopify Partner
84 1 0

Hello @robehs,

Please add this following code into your base.css file.

@media screen and (max-width: 750px) {
.product-media-modal__dialog .global-media-settings--no-shadow {
height: auto !important;
width: 80% !important;
}
}
Syn | eFoli
-Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- Checkout our apps:Inkybay || MultiVariants