• I have a child theme; as I understand this, it should only be looking for files (like header.php) from its parent! Instead it’s looking to twentyeleven! If I remove twentyeleven I get the wsod!

    /*
    Theme Name: Whatever
    Template: parent-theme
    */
    
    @import url("../parent-theme/style.css");

    The stylesheet is the only thing that WordPress will grab from the parent. Only if I rename the ‘parent-theme’ folder to ‘twentyeleven’ will it get anything else (and then it would 404 on the stylesheet naturally).

    Any ideas? As a parent myself I would be annoyed if my kid wasn’t listening to me!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Can you post what is in your actual child stylesheet and/or post a link to your site?

    Thread Starter Arley McBlain

    (@arleym)

    Nope!

    I wish I could, but it’s some confidential stuff just staging on my local environment.

    I’m going to try to setup another WP, scrap plugins, rename folders etc. tomorrow morning. Will post the solution if I find it… until then I have a ‘twentyeleven’ folder full of another theme and a ‘parent-theme’ folder with CSS. Siiiiigh.

    You might want to review this:

    http://codex.ww.wp.xz.cn/Child_Themes

    Double check that the theme name in the @import line is correct (for the theme you are using).

    Thread Starter Arley McBlain

    (@arleym)

    Yeah, that was the first thing I looked at.

    I did get it working, I had to go into the multisite dashboard, disable and reenable the themes. Did this for child and parent at the same time, not sure what brought the goodness, just glad I’m not crazy.

    Thanks gravatarless braincrab.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Child Theme ignoring Parent!’ is closed to new replies.