Support » Fixing WordPress » Creating a child theme

  • Hi,

    I have tried for hours to create a child theme and so far, been very unsuccessful.

    I would like to create a child theme for the twenty twelve theme. I use godaddy as my ftp. A few things I am having trouble with is…
    1. I have no idea how to create a folder in Godaddy.
    2. Am I able to create a style.css using ‘pages’ on macbook?

    Basically what I did (which failed to work or show up in WP) was created a folder on my desktop with a style.css file made from pages inside that folder. I then uploaded the folder using godaddy to wp-content -> themes -> twentytwelve.

    Can someone tell me what I am doing wrong?


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


    Forum Moderator

    Folder created that way is fine. No, you cannot use pages — you need to use a plain text editor – a good free one for Macs is

    or just use TextEdit which comes with Macs.

    The style.css file must have this exact code in it (and nothing else):

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

    The new folder can be named whatever you want but no spaces, caps or punctuation. The folder does not go inside the twentytwelve theme folder – it just goes in the themes folder — on the same level as twentytwelve – it’s a sibling in that sense.

    Hi Yogi,
    I did exactly as you said… It does not show up in my admin->appearance->themes.

    when i created the style.css in textedit it was saved as style.css.rtf
    I then went to the document in my desktop and deleted the ‘.rtf’

    this should be ok right?

    and there is nothing in my folder except the style.css
    that correct?



    Forum Moderator

    Go back and make a new document and save as style.css – it might have saved in it an unreadable format. And yes, that file should be the only thing you the child theme folder. What is the name on the child theme folder?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Creating a child theme’ is closed to new replies.