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 😊
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024