Child Theme
-
Hi there,
I am having some trouble with child themes.
I first tried setting one up using the twentytwelve theme and everything worked perfectly. I then tried it on two other WordPress sites which use different themes and neither of them worked. In both cases they failed to import the parent css even though I had done everything the same as the twentytwelve child theme (obviously amended the file names).
I’ll just stick with one of the themes for now which is called Core. The folder stucture is correct in that I have core and core-child directly below it. The style.css file has this in it:
/*
Theme Name: Core Child
Template: core
*/@import url(“../core/style.css”);
The path for the css is correct as far as I can tell and everything else seems to be in place. I just can’t quite work out whether I am doing something wrong or if it is a theme issue.
Any help would be greatly appreciated.
Many thanks in advance.
Jack
- The topic ‘Child Theme’ is closed to new replies.