stylesheet precedence
-
I have created a child theme.
Sometimes, when i create my own custom css rules on style.css (child) to override existing rules from the theme, i found that they would not apply, because style.css (child) is being compiled before other stylesheets from the theme. Of course, i could make use of the !important rule, but i rather not.What i would like to do insted, is to tell style.css (child) to be compiled after all the other stylesheet from the theme, that is, at the bottom. That way, every custom rule will override preceding rules. Right?
how do i tell wordpress to do that?
Is this technique convenient?Appreciate some help.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘stylesheet precedence’ is closed to new replies.