• So I’ve activated a new child theme as per the super simple code/instructions I find via my lynda.com subscription and the www.ads-software.com site, but I keep getting the “…requires its parent…” message in the manage themes dashboard, ARGH!

    That said I AM able to import and view the parent theme styles, so SOMETHING appears to be working. Suggestions, directions much appreciated.

Viewing 15 replies - 1 through 15 (of 17 total)
  • What is at the top of your child theme’s css file??

    Thread Starter braulio62

    (@braulio62)

    /*
    Theme Name: twentytwo
    Theme URI: URI to your theme
    Description: Twenty Twelve child theme with a twist or two
    Author: Your name and a link to your site
    Version: 0.0.1
    Template: twentytwelve
    */

    Thread Starter braulio62

    (@braulio62)

    P.S. Thank you.

    This is all right.
    Just to confirm, you have twentytwelve in your wp-content directory?

    Thread Starter braulio62

    (@braulio62)

    Yes, that’s how/why the ‘@import url….’ code is able to at least pull in the styles of the parent twentytwelve theme…

    Also do you have something that says something like @import url('../parentname/style.css');

    Be sure to double check that it is correct. Once I think I missed something and it gave me a similar problem.

    Thread Starter braulio62

    (@braulio62)

    That part is working, so visually at least I don’t seem to have a problem. Here is the code as it appears below/after the comments section: ‘@import url(‘../twentytwelve/style.css’);’

    Is there a ‘ before and after the @import url('../twentytwelve/style.css'); in the actual code?

    Thread Starter braulio62

    (@braulio62)

    Here is all the text that appears in the style.css file for my child theme:

    ‘/*
    Theme Name: twentytwo
    Theme URI: URI to your theme
    Description: Twenty Twelve child theme with a twist or two
    Author: Your name and a link to your site
    Version: 0.0.1
    Template: twentytwelve
    */
    @import url(‘../twentytwelve/style.css’);

    Man, it all correct.

    WP shows that lines “”To inform that this is a child theme, and depends upon parent theme to work””

    It will show that line for every child theme ??

    You have correctly followed the super simple way.. and reached where you wanted.
    Move ahead, customizing your new child theme.

    Thread Starter braulio62

    (@braulio62)

    Thank you very much from a grateful noob.

    Looks right to me too! If it’s displaying right you should be good! Have fun with WordPress!

    I can’t tell if this was ever resolved but I was having the same issue.

    My problem with with the quotes ” ” – in the @import line. I had “fancy” quotes from a text editor – and by the look of the code above the problem may have been using single quotes instead of double. I think the code should have worked if it looked like this:

    /*
    Theme Name: twentytwo
    Theme URI: URI to your theme
    Description: Twenty Twelve child theme with a twist or two
    Author: Your name and a link to your site
    Version: 0.0.1
    Template: twentytwelve
    */
    @import url("../twentytwelve/style.css");

    Ah, so the phrase

    This child theme requires its parent theme, Pagelines DMS.

    is not an error message, but rather is just stating the obvious, then? Man, I burned up way too much time on this one.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Error message: this child theme requires its parent theme…’ is closed to new replies.