AnnaB12 Posted February 26 Posted February 26 Hi there! I have this code on my site, however I want to exclude it from happening on my store so that when hovered over the products the second image is not lighter. this is the code I am using. How to exlcude from products? .image-block:hover { background-color: #00000; opacity: 0.6; transition: all .3s ease-in-out;} https://www.nativewest.com/store Thanks so much!
tuanphan Posted February 29 Posted February 29 Change your code to this body:not([class*="type-products"]) .image-block:hover { background-color: #00000; opacity: 0.6; transition: all .3s ease-in-out;} Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
AnnaB12 Posted May 29 Author Posted May 29 Thanks for the reply but that didn't work. Am I putting the code in the right place? Footer injection?
tuanphan Posted May 31 Posted May 31 On 5/30/2024 at 12:37 AM, AnnaB12 said: Thanks for the reply but that didn't work. Am I putting the code in the right place? Footer injection? No. Custom CSS Website > Website Tools > Custom CSS Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment