You can’t use capital letters in some of those places – try this:
Theme Name: Child of Twnty Twelve
Theme URI:
dESCRIPTION: COOL cHILD tHEME BASED ON 2012
Author: Mahsa
Version:0.0.1
Template: twentytwelve
*/
@import url('../twentytwelve/style.css');
Create a folder named Child-of-Twenty-Twelve
Replace all of the above with this:
/*
Theme Name: Child of Twenty Twelve
Theme URI:
Description: Cool child theme based on 2012
Author: Mahsa
Template: twentytwelve
Version: 1.1.1
*/
@import url("../twentytwelve/style.css");
Place that style sheet inside the directory named Child-of-Twenty-Twelve, and upload to your theme directory.
Navigate to themes, select and activate the Child of Twenty Twelve theme.
That should do it. Just tested it myself, and it worked as expected. Goood luck!
Yes… what WPyogi said! π
LOL – yours was more nicely done, ClaytonJames :).
I just type with two fingers, though. Takes me longer.. Ha!
Thank you thank you! it worked….yeaaaaay
Nice! I’m sure I speak for WPyogi as well, when I say you’re welcome!
One more issue following the above:
I could see and activate the child theme, howevere it is not linked to the style of 2012! When I activated the child theme, it dose not have any style. Any idea?
here is teh website:
memastudio.ca
thanks a lot for your help,
Cheers
I am looking into twentytwelve theme and i dont see any style.css file!
there is two other files:
editor_style-rtl
editor-style
should i change the import url to these files?
This is wrong:
@import url("../twentytwelve/editor-style.css");
it needs to be:
@import url("../twentytwelve/style.css");
After you change that, switch to twentytwelve and then back to the child theme – so that it will correctly “see” that changed file.
i did as above, still there is no style!
hen I check on the ftp site, there was no file under the name of style in twntytweleve theme directory. could that cause the problem?
Yes, there should be one there – maybe you moved it when making the child theme? In any case, you can change to another theme – twentyeleven should be there? – and just delete and then reinstall twentytwelve. (Assuming you have not yet made changes to twentytwelve?)
Your css file looks like this:
/*
Theme Name: Child of Twenty Twelve
Theme URI:
Description: Cool child theme based on 2012
Author: Mahsa
Template: twentytwelve
Version: 1.1.1
*/
@import url("../twentytwelve/editor-style.css");
Change the last line to this, and see if that does it:
@import url(“../twentytwelve/style.css”);
Okay… I’m suddenly feeling veeerrrryyy slowwww….. I suspect the White Zinfandel. π
G’night all!
Nitey-nite, sleep tight :)!