Forum Moderators: not2easy
p.purple {color: #609;}
div.green p {color: #090;}
To stop the second rule from overriding the first and making your purple text green (which it will do in most browsers, regardless of physical rule ordering), expand the first rule to say p.purple, div.green p.purple {color: #609;}
or simply p.purple, div[class] p.purple {color: #609;}
https://drafts.csswg.org/css-cascade-4/#importantIf you can make head or tail of this explanation, you’re a better man than I. How do I override his !important, without using !important?Can you edit the theme? (I don't speak WordPress, but not2easy will know.) If so, globally delete all occurrences of !important and you can wash your hands of the whole business.
https://caniuse.com/?search=placeholderleads to Chrome issues [issues.chromium.org] confirming that, yeah, it’s a known Chrome problem. (Which, if I'm reading it right, dates back some seventy version numbers. Sheesh.)
like I said the Theme Author used !important in the original CSSI am guessing at it for that reason. If the theme was built with woocommerce installed, then yes, it might be part of the theme's css file.