• Resolved Jason Bridges

    (@die-jason)


    Hi again,

    Just encountered a situation where my child theme style.css is overrided by the parent theme style.css. I have firebug installed and can see my css (see CHILD example below) is crossed out. Was trying to space the menu items a bit. Also tested quickly with changing bg colour via css, that also did not work.

    PARENT
    .navigation-main a {
    padding: 10px;
    }

    CHILD
    .navigation-main a {
    padding: 10px 30px;
    }

    Something I am missing? See here

    Regards,

    Jason

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Konstantin Kovshenin

    (@kovshenin)

    Jason, it seems like expound.css is being enqueued after your child theme’s style.css. I’ll probably have to fix that in a future upgrade, but meanwhile you can use a more specific CSS target to overwrite styles, like body .navigation-main a in your example.

    Hope that helps!

    Thread Starter Jason Bridges

    (@die-jason)

    Hi Konstantin,

    Ah yes, that did the trick, thank you very much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Parent Theme overrides Child Theme’ is closed to new replies.