• Resolved pcatjee

    (@pcatjee)


    Hi Guys, I was trying to upload my very first Child theme via filezilla.

    Parent Theme I am using is ifeature.
    I created a folder named ifeature-child, then
    Created a style.css file within it.

    And enter this in & saved the file:

    [ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]

    /*
     Theme Name:   iFeature child
     Theme URI:    http://microhelptech.com/
     Description:  iFeature Child Theme
     Author:       Piyush Chatterjee
     Author URI:   http://example.com
     Template:     iFeature
     Version:      5.5.4
    */
    @import url("../iFeature/style.css");

    But Even after upload its not detecting inside the wordpress themes section.
    And I get an error below saying-
    Broken Themes

    The following themes are installed but incomplete. Themes must have a stylesheet and a template.

    Name Description
    iFeature child The parent theme is missing. Please install the “iFeature” parent theme.

    Please help

Viewing 4 replies - 1 through 4 (of 4 total)
  • In your stylesheet’s header, the Template: line needs to contain the name of the folder that contains the parent theme, and capitalization matters. It should probably be

    Template: ifeature

    Also, the same thing applies when you use @import to bring in the parent theme’s stylesheet:

    @import url( "../ifeature/style.css" );

    A child theme consists of at least one directory (the child theme directory) and two files (style.css and functions.php), which you will need to create.

    Do you have functions.php in your child directory?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Despite what the Codex says, you don’t actually need a functions.php file in your Child Theme. It is just best practice to have that.

    Thread Starter pcatjee

    (@pcatjee)

    Thank you so much for your quick response on this people.
    Well this actually worked for me. It was ifeature rather than iFeature.
    I have changed it to the right case and now it works.

    Thank you so much stephencottontail.

    And it is true that Child themes do work without functions.php, though you will eventually need it afterwards. So better have it there.

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

The topic ‘Child Theme upload format Help Needed’ is closed to new replies.