Shopify themes, liquid, logos, and UX
I want to remove the hover effect on our products. Where the second image is displayed.
I've tried unchecking the box that says "Show additional images, On desktop, additional images show on hover. On mobile, they can be swiped." This doesn't work because it displays one featured image for all of the varients.
I don't see a box that says "Remove hover" anywhere, so I am wondering what to do.
Solved! Go to the solution
This is an accepted solution.
Hi @rnnrgirl115,
Please go to Actions > Edit code > Assets > main.css file and paste this at the bottom of the file:
.image-cont--with-secondary-image:hover .product-block__image--active {
opacity: 1 !important;
}
.image-cont--with-secondary-image:hover .product-block__image--show-on-hover {
opacity: 0 !important;
}
This is an accepted solution.
Hi @rnnrgirl115,
Please add it in styles.css.liquid file
This is an accepted solution.
Hi @rnnrgirl115,
Please go to Actions > Edit code > Assets > main.css file and paste this at the bottom of the file:
.image-cont--with-secondary-image:hover .product-block__image--active {
opacity: 1 !important;
}
.image-cont--with-secondary-image:hover .product-block__image--show-on-hover {
opacity: 0 !important;
}
I don't see main.css in Assets. Here is what I see:
This is an accepted solution.
Hi @rnnrgirl115,
Please add it in styles.css.liquid file
THANK YOU!!!
Hi @rnnrgirl115,
If you have any questions, you can contact me directly.
Nice to meet you 😊
We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024