• I have tried a few times to upload a child theme to our site, https://marketinganddesignmd.com/md. I made it correctly I think, using the sample in the Codex. And zipped it, and tried to upload it from my hard drive. Before being zipped, it looked like this:

    /*
    Theme Name: Yoko Child
    Theme URI: https://marketinganddesignmd.com/md
    Description: Child theme for the Yoko theme
    Author: Jack
    Author URI: https://marketinganddesignmd.com/md
    Template: Yoko
    Version: 0.1.0
    */
    @import url(“../Yoko/style.css”);

    But I keep getting this error message:

    “Unpacking the package…

    Installing the theme…

    The package could not be installed. The theme is missing the style.css stylesheet.

    Theme install failed.”

    Do I have to use FTP to load to the directory instead?

Viewing 9 replies - 1 through 9 (of 9 total)
  • You need to use a small “y” in these two places:

    Template: yoko
    Version: 0.1.0
    */
    @import url("../yoko/style.css");

    After modifying those, switch to another theme and then back to the child theme.

    Thread Starter Jackflash101

    (@jackflash101)

    WPyogi, thanks for your quick reply. I haven’t tried these changes yet, but will soon.

    Thread Starter Jackflash101

    (@jackflash101)

    WPYogi — Thanks so much for all of your feedback.

    I just tried this again, making the “Y” in Yoko a small letter, not a cap.

    Then I think I was saving as the wrong file name. Had been naming it Yoko-child, but from the codex it appears I should use “style.css” which I used, then zipped the file, and named the zipped file “child-yoko.” When I had saved the file, it saved it as a Cascading Style Sheet Document format, which I then zipped.

    But now, when uploading the zipped file using the dashboard, I get this error: “The package could not be installed. The style.css stylesheet doesn’t contain a valid theme header.

    Theme install failed.”

    Some of the text from the style sheet document, which I opened using Notepad:

    ????	     à      F   Microsoft Word-Dokument
       MSWordDoc    Word.Document.8 ?92q                                                                                                 
      [         <code>??</code>    D e f a u l t      1$ *$A$  3 B* OJ  QJ  CJ sH	sH	KH PJ nH^J aJ _H9tH9                             F t

    
    Not quite sure what to do next.

    Looks like you used Word – which is incompatible with website code. You need to use a plain text editor to create that file.

    Thread Starter Jackflash101

    (@jackflash101)

    Alright. I’ll change that. Seems like the WP codex would make that more plain, so one would know in advance. So I guess I should use Windows accessory text editor, such as Notepad or Wordpad? Although they let you change fonts, colors, etc. So not too sure.

    Did I use the correct file names? “style.css” for the style sheet. Then saved zip file under the name “child-yoko”

    Yes, any plain text editor will do. Yes, those file names should be fine.

    such as Notepad or Wordpad

    Use Notepad – NOT Wordpad.

    Downloading install package from https://www.ads-software.com/themes/download/twentytwelve.1.3.zip…

    Unpacking the package…

    Installing the theme…

    Could not create directory. /home/content/16/11377716/html/wp-content/themes/twentytwelve/

    Theme install failed.

    Reported the problem to GoDaddy and response is “you will get a response within 72 hours”.

    This response was pretty quick from GoDaddy

    Thank you for contacting Hosting Online Support Team. I found the wp-content/themes folder to be missing so the twentytwelve folder could not be created there. I created the missing folder, uploaded the twentytwelve theme, then update the WordPress database to use this theme.
    Please let us know if we can assist you in any other way.

    The only thing which i do not understand who has deleted theme folder from wpcontent. It was definetely not me.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Yoko theme Child Theme setup’ is closed to new replies.