We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

ZOOM ON HOVER EFFECT

ZOOM ON HOVER EFFECT

krishabysakshi
Tourist
26 0 2

https://www.krishabysakshi.com/ This is my website and i want to add zoom on hover effect on my products in dawn basic theme. How can i add the effect?

Replies 4 (4)

Huptech-Web
Shopify Partner
1169 234 265

Hello! @krishabysakshi Please follow these steps to add this CSS code:

1. Go to your Online Store
2. Click on "Themes"
3. Select "Edit code"
4. Open your CSS file. If you have a custom CSS file, open that instead.
5. If you can't find your custom CSS file, open "base.css"
6. Add the following code at the end of the file.

 

body .card-wrapper:hover .media.media--hover-effect>img+img {
    transform: scale(1.1) !important;
}

 


 If you need further assistance, please let me know. If you found my help useful, consider liking this message and marking it as the solution.
Best regards
K.K

If you found this response helpful, please do like and accept the solution. Thanks!
Need support with Customizing your Shopify store?
Feel free to contact me at info@huptechweb.com or Visit our website Huptech Web.
Instant Shortcode Builder: Integrate customizable UI features anywhere in your store - No coding knowledge required
krishabysakshi
Tourist
26 0 2

Its not working. i still have a zoom magnifying buttin that i need to click and a big image opens up

krishabysakshi
Tourist
26 0 2

 

Talking about this hover and zoom in a box of main product page.

1.png

steve_michael2
Navigator
454 39 62

Hi @krishabysakshi , I hope you are doing well. 

1. Go to Online Store -> Theme -> Edit code.
2. Open your base.css file
3. Paste the below code in it and save

 

 

body .card-wrapper:hover .media.media--hover-effect>img+img {
    transform: scale(1.1) !important;
}

 

Or if you want it with a transition effect, then kindly use the below code

 

.card-wrapper.underline-links-hover {
    transition: .5s !important;
}

.card-wrapper.underline-links-hover:hover {
    transform: scale(1.1) !important;
}

 

If my reply is helpful, kindly click like and mark it as an accepted solution.

Thanks!