• Hi there,

    I’m new to the wonderful world of WordPress and am having an issue creating a child theme of the Minamaze theme.

    These are the steps I’ve taken so far:
    1. Created a new child theme folder in wp-content>themes.
    2. Created the style.css file containing the below in plain text:
    /*
    ?Theme Name:?? Minamaze Child Theme
    ?Theme URI:??? https://www.thinkupthemes.com/free/minamaze-free/
    ?Description:? A Minamaze child theme
    ?Author:?????? Thinkupthemes
    ?Author URI:?? https://www.thinkupthemes.com/
    ?Template:???? minamaze
    ?Version:????? 1.0.0

    */

    @import url(“../minamaze/style.css”);

    3. Uploaded it to the server

    Now on my WordPress dashboard in Appearance>Themes the parent Minamaze theme is there, but the child theme I just tried to create is broken. it says this:

    “Broken Themes
    The following themes are installed but incomplete. Themes must have a stylesheet and a template.
    Name: minamazechild
    Description: Template is missing.”

    I’ve read a bunch of forums and nothing seems to resolve my issue. I hope someone out there can help!

    Please and Thank-you!

Viewing 8 replies - 1 through 8 (of 8 total)
  • What program did you use to create your stylesheet? A word processor may have inadvertently added extra characters to the ends of your lines, which may cause some unexpected errors, particularly to the Template: line, which must contain the exact name of the parent theme’s folder.

    Thread Starter amystals

    (@amystals)

    Thanks for responding Stephen! I’ve been using TextEdit in plain text format.

    Can you post the repost the code you’re using either to Pastebin or using the “code” button? Can you verify that the line breaks didn’t get mangled in some way when the stylesheet was uploaded to your server? One way to check this would be to use the built-in Editor at Dashboard > Appearance > Editor, and select the child theme from the dropdown box. You can do this without having to activate the child theme.

    Thread Starter amystals

    (@amystals)

    /*
    ?Theme Name:?? Minamaze Child Theme
    ?Theme URI:??? https://www.thinkupthemes.com/free/minamaze-free/
    ?Description:? A Minamaze child theme
    ?Author:?????? Thinkupthemes
    ?Author URI:?? https://www.thinkupthemes.com/
    ?Template:???? minamaze
    ?Version:????? 1.0.0
    
    */
    
    @import url("../minamaze/style.css");
    Thread Starter amystals

    (@amystals)

    That’s the code i used. I crosschecked the stylesheet i created against what appears in Editor and they both look exactly like the code i pasted above.

    Thread Starter amystals

    (@amystals)

    I have just noticed something that may help someone help me solve the problem!

    When I created the style.css in TextEdit I saved it with Unicode UTF-8 encoding (this was the default, so I didn’t change it). When I open the style.css file in Safari it replaced every space with a ?

    Could this be ruining my stylesheet? Does this give anyone any clues on how to resolve the issue?

    This is what it looks like when its opened in Safari:

    /*
    ? Theme Name:? ?  Minamaze Child Theme
    ? Theme URI:? ? ?  https://www.thinkupthemes.com/free/minamaze-free/
    ? Description:?  A Minamaze child theme
    ? Author:? ? ? ? ? ?  Thinkupthemes
    ? Author URI:? ?  https://www.thinkupthemes.com/
    ? Template:? ? ? ?  minamaze
    ? Version:? ? ? ? ?  0.0.1
    
    */
    
    @import url("../minamaze/style.css");

    Yikes, that’s definitely what’s causing the problem. I’m not sure what happened with TextEdit, though; it’s usually pretty reliable. Can you edit it using the Editor (Dashboard > Appearance > Editor), deleting all contents of the file, and then retyping the information in the file?

    Thread Starter amystals

    (@amystals)

    It worked! THANKS SO MUCH!
    I just deleted all contents of the child theme style.css file in Editor, and then retyped it in Editor.
    Thanks again for getting me through it Stephen, You’re a champ!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Broken Theme error when trying to create a child theme for Minamaze’ is closed to new replies.