• Resolved zena1939

    (@zena1939)


    Hello,
    I am trying to create a Child Theme in wordpress 3.5 and nothing seems to be working. I was trying to make one for the default twenty twelve theme. My child theme shows up it has this error

    This child theme requires its parent theme, Twenty Twelve.

    I looked at the wordpress codex tutorial on child themes. I followed it to the t but nothing seems to be working.

Viewing 7 replies - 1 through 7 (of 7 total)
  • What is in your child theme stylesheet? (Use the code buttons to post the code – it should only be the required header section, not a copy of the entire stylesheet) And what is the file structure you have set up?

    Hello,
    I too have a trouble with creating a child theme for TwentyTwelve. I used a plugin (One click Child theme), and it worked fine for my former theme (Brunelleschi), but with TwentyTwelve the layout is totally in a mess (colors, links etc). I tried it a couple of times with the same result. So for the moment I use it “out of the box”. but I’d like to make a few customizations however.
    Here is the URL.
    Any idea? Thx, in advance.

    Thread Starter zena1939

    (@zena1939)

    I used my file manage in my host and this is the file structure

    wp-content ->themes->childtwentytwelve

    /*
    Theme Name: Twentytwelve Child
    Description: Child theme for the twentytwelve theme
    Author: Your name here
    Template: twentytwelve
    */
    
    @import url("../twentytwelve/style.css");

    Hello Zena
    Here is the code I used :

    /*
    Theme Name:     twentytwelvechild
    Author:         ***
    Template:       twentytwelve
    License: GNU General Public License v2 or later
    License URI: https://www.gnu.org/licenses/gpl-2.0.html
    */
    @import url("../twentytwelve/style.css");

    But in my case the issue was coming from a conflict with a plugin for Css script optimization. I disabled it and now it is all ok.

    Hope it’s ok for you too now.

    Thread Starter zena1939

    (@zena1939)

    What was the name of the plugin that was giving you conflict?

    Thread Starter zena1939

    (@zena1939)

    OMG!! It worked!!! I even tried it on the minimatica theme and it worked!!
    Thank you so much!!

    I just have one more question

    License: GNU General Public License v2 or later
    License URI: https://www.gnu.org/licenses/gpl-2.0.html

    Why are these two lines necessary?

    I think those two lines are there mainly for courtesy.
    I’m just glad that you could fix it.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Child Theme does not work’ is closed to new replies.