• milanexan

    (@milanexan)


    Hi,
    I have desperately tried many times to upload a child theme for twenty eleven but was not successful. If anyone who has the patience to guide a newbie blogger and a computer illiterate please come to my aid.
    My host is FatCow and this is my blog. And this is how I’m doing it. From CPanel > File Manager > WP content > themes (here I create twenty eleven-child theme) > In opening 2011 child theme folder there is nothing inside so I upload my style.css file from my Word docs, I click upload and I get the green check mark that says upload was successful. BUT when I go check my themes from my dashboard the child theme is not there and get a message that a child theme was created but is broken, that it needs to have a style sheet. Where did I go wrong?
    NOTE: If you happen to go look at my site you will notice that I have a child theme installed. True but as much as possible I want to use something that I have created myself, that way I will learn how to drive my own site.
    Thanks for answers.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Create the files in a folder on your local disk, add a screenshot 300 * 225, enter the folder select all files, style.css and screenshot then if on Windows right mouse and Send to > select Compressed Zip file.

    Now you have a zip in the folder, give this the theme name like twentyeleven-child.zip, notice lower case no spaces.

    Copy / move the zip somewhere you can upload twentyeleven-child.zip from the admin area, WordPress > Admin > Appearance you just just upload the child theme zip!

    WordPress will create a folder /wp-content/themes/twentyeleven-child/ inside it will copy the theme files.

    HTH

    David

    Thread Starter milanexan

    (@milanexan)

    Thanks for the quick reply. I followed your advice but still I get this message, “The package could not be installed. The theme is missing the style.css stylesheet.

    Theme install failed.” I’m desperate! The style.css style sheet is in the zipped folder, I wonder why its not appearing in WordPress. When I check it on my MSdocs, it is there clear as the Texas sun.
    Anyone? Please.

    Ok,
    In your CP Panel?
    /wp-content/themes/your-childtheme/

    Inside there should be the style.css?

    If this is correct then in the style.css you have a line:
    Template: twentyeleven
    or:
    Template: parent-theme

    parent-theme is the folder name of the parent, this is case sensitive and should be lower case with no spaces?
    /wp-content/twentyeleven/
    or:
    /wp-content/themes/parent-theme/

    Inside the parent themes folder you have a style.css?

    On this post there is a twenty eleven child theme download, if you still have problems, try and upload it from admin, or open it and compare to yours, you maight have a syntax error in your child theme!

    HTH

    David

    Thread Starter milanexan

    (@milanexan)

    Here is the style sheet:
    /*
    Theme Name: Twenty Eleven Child
    Theme URI: https://www.e-moneymakingblog.com
    Description: Child Theme for the Twenty Eleven Theme
    Author: Julia Falco
    Author URI: https://www.emoneymakingblog.com/blog/
    Template: twentyeleven
    Version: 0.1.0
    */
    @import url (“../twentyeleven/style.css”);
    Got it exactly from WP codex. Earlier I was getting an internal server error when I do the installation on WP Dashboard. I think I have to consult with my hosting provider.
    Thanks a lot David, with you I have learned how to zip.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘problem uploading child theme in my directory’ is closed to new replies.