Home>Support>Child theme css changes won’t work without !important

Child theme css changes won’t work without !important

By Sara, 7 years ago. Last reply by Alex S, 7 years ago.

I’m using the Vantage theme – really liking it so far! I’m making quite a few customisations, so I used your child theme starter to create a child theme.

I’ve made a number of changes in the child style.css, but they don’t show on the site unless I use !important for each change. I’ve never had this problem before with other themes.

Any ideas what’s causing the issue? I guess it’s something to do with priorities, but I thought child style.css was always given priority over the parent css?

Thanks

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 7 years, 9 months ago Sara

    I’ve marked as closed, as I think I’ve worked out what was going wrong. I think it was a combination of:

    • some of the child css being overwritten by settings in Appearance > Customise
    • specificity
  2. 7 years, 8 months ago Alex S
    Hi, I Work Here

    Hi Sara,

    Glad you managed to figure this one out. I’m sorry I wasn’t able to be of assistance this time. Please be sure to post another thread if you have any other questions.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More