nick_nielsen
Member
Posted 1 year ago #
I'm trying to migrate my site to a child theme with twentyten as parent.
The comments header works - the theme is registered in the dashboard correctly.
I have put @import('../twentyten/style.css') as recommended.
However any styles I introduce into my child stylesheet somehow invalidates all the styles - the parent styles no longer work and I am left with basic HTML.
What am I doing wrong ?
where do you add the new styles?
make sure, this line
@import url("../twentyten/style.css");
ends with a semicolon; and add any new styles below it.
To add to what alchymyth said: @import rules must come before any other style declarations, or the @import is ignored entirely.
nick_nielsen
Member
Posted 1 year ago #
I did everything as required and double checked it. I usually do before I come here.
I gave up and started rebuilding from scratch.