• Resolved SCSX

    (@scsx)


    Hi, I just registered to get some help…

    I created a child theme for Twenty Twelve and setup the new CSS structure, etc. Everything went fine. As I copied and pasted header.php in my child theme folder no CSS is loaded, even I don’t actually change the code in it. is there something I’m missing?

    I didn′t want to change the original header.php, that’s no the point of child themes at all, right?

    Thank you

Viewing 8 replies - 16 through 23 (of 23 total)
  • Okay, so that seems okay too :). But let’s add some CSS just to make sure it’s doing something. Add this:

    h1.site-title a {
        color: deeppink;
    }

    Thread Starter SCSX

    (@scsx)

    Ok, it’s working so far ??

    Cool, okay now uncomment your CSS file @import line.

    Thread Starter SCSX

    (@scsx)

    Ok. Yellow bck shows right away that it is loading my fotografiadentaria.css.

    Yay, so now copy the header.php file to the child theme.

    Thread Starter SCSX

    (@scsx)

    OK, it’s there. I’ve inserted a p in orange as test. So this means…my problem is solved! I wonder what didn′t work first time!

    Huh, well who knows, it might just have been switching off and then back to the child theme – that can sometimes fix some cranky thing or another. At any rate, it was a relatively easy “fix” and you’re off and running :).

    Thread Starter SCSX

    (@scsx)

    Yeah!

    And it’s already loading the font, which was my first (but not only) concern about header.php (although I’m loading it through functions.php now).

    Thank you very much Andrew and WPyogi, I’ll be glad if I can ever repay your patience! ??

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘Overriding header.php: no CSS!’ is closed to new replies.