• Resolved catokeefe

    (@cokeefe45)


    I have made child themes in the past and am trying to create my Child Theme for BizStudio Lite. I can’t seem to get it to work. It keeps saying It is installed but Missing Template.

    1. What is the case sensitive name I use for the Template in my Child Theme’s style.css file?

    2. What is the correct path I use for the @import url?

    Thank you for any help in this matter.

    COKeefe

Viewing 6 replies - 1 through 6 (of 6 total)
  • .

    (@techievous)

    So you want create a child them for BizStudio Lite them, using @import url in the child theme’s style.css, right?

    /*
     Theme Name:   bizstudio-lite-child
     Description:  Bizstudio Lite Child Theme
     Author:       Your Name Here
     Author URI:   https://example.com
     Template:     bizstudio-lite
     Version:      1.0.0
    */
    
    @import url("../bizstudio-lite/style.css");
    
    /* =Theme customization starts here
    -------------------------------------------------------------- */

    That’s for your child theme’s style.css, assuming everything in standard location. Don’t forget to go back to your Appearance –> Themes and activate the child theme after this.

    Also please note that using enqueue is generally preferred over @import style nowadays.

    Thread Starter catokeefe

    (@cokeefe45)

    Hi,
    I put it in just like that and still get the following error in my Appearance–>Themes area:

    Broken Themes
    The following themes are installed but incomplete. Themes must have a stylesheet and a template.
    Name
    bizstudio-lite-child Description: Bizstudio Lite Child Theme Author: Cathy Author URI: https://www.officesupportexpress.com Template: bizstudio-lite Version: 1.0.0
    Description
    Template is missing.

    I named my folder bizstudio-child. Then I included the style.css file and put in the code you used above.

    It still doesn’t work.

    I don’t know what enqueue is.

    Do you have any other suggestions? I have to get to bed it’s late here, so I’ll check back some time tomorrow.

    I appreciate your help.

    COKeefe

    .

    (@techievous)

    That should work with any standard setup. I’ve installed the theme on my test server and tested it; it works on my test.

    So that leaves us with 2 possible causes:
    – Is your parent theme installed properly? Perhaps try deleting then re-installing the parent theme?
    – Did you customize anything in as far as theme locations and structure?

    Edit: let me add some screenshots

    Active and activated, notice the parent theme next to it and the options in the Appearance section; also note the “new theme activated” message, with no error:
    https://i.imgur.com/52QwMwP.png

    Also, theme folders:
    https://i.imgur.com/IufbmVZ.png

    The code is, of course, the same as the one I posted above.

    Thread Starter catokeefe

    (@cokeefe45)

    Hi,

    I deleted the parent theme and child theme. Then I uploaded a new copy of the parent theme. I tried re-installing from my Themes page. Still didn’t work. So, I downloaded a new copy from the www.ads-software.com site. It still does not work. My child theme has only one file in it: style.css. Here is my code:

    /*
    Theme Name: bizstudio-lite-child
    Description: Bizstudio Lite Child Theme
    Author: C.OKeefe
    Author URI: https://www.officesupportexpress.com
    Template: bizstudio-lite
    Version: 1.0.0
    */

    @import url(“../bizstudio-lite/style.css”);

    I put in single quotes in the url path also. It didn’t make a difference.

    I did try this on my local site in a test site I have. And it worked fine!!

    I will check back to see if you have any other ideas. It’s probably something really simple I’m missing.

    I have to go to work later but I can check back.

    Thank you,

    cokeefe

    Thread Starter catokeefe

    (@cokeefe45)

    I have activated Jet Pack and now have the CSS Stylesheet editor within my Appearance block. So I can change the styles without worrying about losing them all without the child theme, but I still want the child theme. I’ll have to get back about why the child theme is not working. It just keeps saying it is missing the template. But it works on my local test site.
    Thanks for your help. I think we at least narrowed the problem down.

    COKeefe

    Thread Starter catokeefe

    (@cokeefe45)

    I was able to get the Child Theme installed. I just uploaded it from my Theme page.

    I was using FileZilla to upload it in the beginning. For some reason Filezilla would not upload it properly.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Help with Child theme’ is closed to new replies.