Is my child theme in fact an orphan?
-
Hi,
A couple of weeks when I thought I must be half way through a steep steep learning curve, I managed to install 2011 theme and, somehow amid all the muddling, I somehow installed 2011 child theme.
I started experimenting with CSS (until a couple weeks ago I’d never heard of the stuff) in my child theme.
BUT I suspected that the child theme and the parent were not quite communicating properly.
Today I took the bold step of cntr-x-ing all the code on the child theme and found that all the styling from my blog had disappeared.
Is that confirmation that in fact the child and parent are not ‘one’ as they should be?
In my precipitous understanding of it, with a blank style.css in the child theme, the parent’s CSS style should dictate the styling and the blog should conform to the parent style.css.
Right?
Upon closer inspection of the parent style.css sheet headings, I found there is no ” Template: twentyeleven ” line which the Codex says is required along with the theme name.
Would it be OK to copy the lines in the header of my child theme with all the lines (including Theme name and Template) and paste them to the header of the parent style.css?
Would that make the two work together as they’re meant to?
Sorry for the long post!
- The topic ‘Is my child theme in fact an orphan?’ is closed to new replies.