• I’ve browsed the great wide web and ended up in a lot of different threads with people with the same issue or a similar issue but none have fixed the issue for me.

    I created a child theme by creating a folder called twentytwelveChild and then creating style.css file and inserting this into it:

    /*
    Theme Name: Twenty Twelve Child
    Theme URI: http://mysite/twentytwelveChild
    Description: A child theme of 2012 default WordPress theme.
    Author: My Name
    Author url: http://mysite.com/
    Version: 1.0
    Tags: black, blue, white, fixed-width, custom-header, theme-options
    Template: twentytwelve
    */
    @import url('../twentytwelve/style.css');

    And it does not show up in the available themes so that I can activate it. Am I missing something?

Viewing 8 replies - 1 through 8 (of 8 total)
  • That looks okay – have you cleared any caching on your site? Did you create that new file using a plain text editor?

    IS the file structure correct:

    themes
         twentytwelve
         twentytwelveChild
             style.css

    Thread Starter Christine357

    (@christine357)

    Does the folder, twentytwelveChild go in the same directory as the folder twentytwelve or does it go inside the folder twentytwelve?

    Thread Starter Christine357

    (@christine357)

    Got it, that was the problem. I misunderstood where the child theme folder goes, got it, thanks. 🙂

    Thread Starter Christine357

    (@christine357)

    Hang on though, what makes this a child theme? Cuz now some things are a little screwy. I only have the style.css file in the child theme folder and I’m pretty sure what I read said that is all I need. Then whatever other changes I need I can do the same thing to. If I have to have all the files copied over though then that’s like having another theme…just an exact replica.

    You add a copy of any files (except functions.php) you want to change to the child theme – and make the changes there –

    http://codex.wordpress.org/Child_Themes

    A style.css file is all that’s needed to make a working/valid child theme, but it’s only for modifying CSS.

    Thread Starter Christine357

    (@christine357)

    When I applied the child theme my header disappeared and the menu bar changed so now all the pages show on it rather than the ones I specified. These are the only changes I noticed because I recently scrapped the site, I didn’t make a child theme at first and realized how bad that could be.

    The header image isn’t even in Appearance>Header anymore to select.

    Yes, you have to redo theme options/settings in a child theme – they aren’t transferred – it’s like switching to any other new theme.

    Thread Starter Christine357

    (@christine357)

    Ahhh. Ok that makes sense. Thank you.

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

The topic ‘Child Theme Not Showing’ is closed to new replies.