Specificity in CSS
-
A client must have updated your plugin and it’s broken styles on a custom theme.
The CSS you’re using is far too specific, it’s making it bloated to overwrite them.
Instead of having the declaration “.directorist-content-active a” on the body element .. which overwrites every single A element on the website, can you not add classes closer to that which you wish to style.
It’s the “cascade” in the stylesheets you don’t seem to be understanding?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Specificity in CSS’ is closed to new replies.