Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #222176

    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.

    #222227

    Hey Pedro!

    Have you tried adding !important on the css value when adding css modifications on style.css?

    Best regards,
    Ismael

    #222241

    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 ;)

    #222404

    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

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.