• I created a style.css child theme file, and nothing registers on the site. I notice that in the parent theme directory, the actual css content is not on the main style.css file, but in a file nested with the inc folder. Should I be mirroring this folder structure in my child theme?
    Thanks for any help! Love this theme, just need to make minor tweeks, but am getting frustrated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Check the following line in the head of the style.css:
    Template: customizr

    I originally had a capital C (ie Customizr) and got a white screen.

    Shouldn’t need the inc folder.

    Do you have index.php in the child directory? That was another learning for me.

    Child themes do not require an index.php template file. Only a style.css file.

    This following style.css works for me (I read this to learn how to do it):

    /*
    Theme Name: customizr-child
    Template: customizr
    */
    
    @import url("../customizr/style.css");
    
    ...CSS changes follow

    The file is placed in a customizr-child folder at the same level as the Customizr theme. That is, the folder structure is:

    MyWPFolder
    >>>wp-content
    >>>>>>themes
    >>>>>>>>>>>>customizr
    >>>>>>>>>>>>customizr-child
    >>>>>>>>>>>>twentyeleven
    >>>>>>>>>>>>twentytwelve

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Child theme not taking – should I create inc folder?’ is closed to new replies.