style.css in Child Theme – No effect
-
I am using 2020 as a parent theme. It works!
I enqueued style.css from child theme, after the 2020 style sheet. It works!
I add a background image in the header. It works!Now I would like to change the text color in primary menu (only primary menu). It doesn’t work!
The reason is that 2020 is adding some in-line style after the style.css. Style.css arrives too late. No success, even with high priority index.
Finally I succeded with javascript.
Would you know a simpler way??I also noticed that Jquery was not loaded. I had to enqueue it in my child theme.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘style.css in Child Theme – No effect’ is closed to new replies.