this is driving me insane.
child theme .css is loaded, after the parent style, but the CSS is just not applied / doesn’t override, I’ve searched around and I see several other people complaining about this.
Enqueing the style or even adding priority to it does not solve it.
Adding the same CSS via the theme customizer, the CSS is actually applied, so the CSS itself is not the problem here.
What can I do more?!
2
Answers
I finally found an enque setting that solves it,
apparently what made a difference for me is the "array('parent-style')" value in the function atributes, must investigate it further but this was the only thing that solved it.
Have you included a dependency in the
wp_enqueue_script()
?Note: if you have a version number in your enqueue then the cache could stop it from loading. Some people use
date()
to change the value each time it refreshes…