How to override parent theme css? (2 posts)

  1. mrling
    Posted 3 years ago #

    site: http://www.jakespharler.com
    theme: twenty-twelve (child theme)

    Problem: I was trying to override the style that defines the link color by adding the same code used to define it in the parent theme, just using "none" as the value:

    .widget-area .widget a {
    color: none !important;

    However, this did not work. When inspecting with Firebug, I see the code I put in my child theme's css file, but I also see the default code directly below it, exactly the same, but with a grey color. Question: Isn't the child theme css suppose to override parent theme css?

  2. WPyogi
    Forum Moderator
    Posted 3 years ago #

    The problem here is that none is not a valid color - what you are trying to do?

Topic Closed

This topic has been closed to new replies.

About this Topic