Tagged: child theme, CSS
I’m having some troubles with the CSS of my website. I have some modification of the CSS from gravity-mod.css and bbpress-mod.css. The thing is, that everytime that I update the theme, I have to change this CSS on the parent theme, because the rules that I write on style.css on my child theme doesn’t work.
What is the best way to do this without modifying the css of the parent theme?
Thank you.
Hey Pedro!
Have you tried adding !important on the css value when adding css modifications on style.css?
Best regards,
Ismael
I did, and it work, but there is no other solution? Because I have to much modifications (around 100 lines), and I would like to not use !important value always, because I can mess up something else ;)
Hey!
Can we see your site and an example? The order should allow for your styles to take priority but it may be as simple as giving yours an additional selector like #top or something like that.
Best regards,
Devin