byjolanthestuder Posted September 18 Share Posted September 18 Hello, I've used this code to invert my black logo to white on my shop title page which has a dark photo background: <style> .header-title-logo img { -webkit-filter: invert(100%); filter: invert(100%); filter:progid:DXImageTransform.Microsoft.BasicImage(invert=’1′); } </style> Except that it applies this to my product pages which have a light background and I want the black logo instead. How can I change this? Link to comment
Solution tuanphan Posted September 19 Solution Share Posted September 19 Change your code to this to apply it to Shop Page only <style> body.view-list .header-title-logo img { -webkit-filter: invert(100%); filter: invert(100%); filter:progid:DXImageTransform.Microsoft.BasicImage(invert=’1′); } </style> 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!) Link to comment
byjolanthestuder Posted September 19 Author Share Posted September 19 It worked! Thank you so much! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment