What is the directory structure of your twenty-eleven and the child theme files?
Did you activate the child theme?
I may not understand that question.
I in wp-content in themes file I created mytwentyeleven file an inside that file I created style.css file
I didn’t activate the child theme. I didn’t know I have to. 24 hours ago I didn’t understand whai FTP is, so……
Okay, it’s kind of hard to understand so much new information when you are starting out. Start by reviewing the directions for creating a child theme – make sure that the file structure is correct on your site.
http://codex.wordpress.org/Child_Themes
Then be sure that you change to the child theme — perhaps this will be helpful.
http://codex.wordpress.org/Using_Themes
Sorry if I’m hijacking the thread, but I think it’s relevant.
From the first link you put above, is this:
“style.css is the one and only required file in a child theme.”
true?
I have made several efforts to make it work and always get the “Broen Theme” message (The following themes are installed but incomplete. Themes must have a stylesheet and a template.)
Do I HAVE to put the other files in the child’s folder or not?
Thanks
@apoboul
please start your own topic,
and include the full code of style.css of your child theme, and the directory structure where the child theme is located, and ideally also a link to your site.
I have changed the directory, file twchild IN twentyeleven file. Now I have
The following themes are installed but incomplete. Themes must have a stylesheet and a template.
just like apoboul
I will try to put some content to that
lets say I want to decrease the high of the header image on http://www.herbiness.com
just like in the tutorial http://voodoopress.com/customizing-twentyeleven-lets-start-with-width-and-smaller-header/ . It made me totally confused.
I’ve just noticed that when I have a folder “mytwentyeleven” next to twentyeleven and that folder is empty, my wp- control panel shows the template name.
when I have style.css file with a content the name isn’t displayed. It might be some minor mistake I make, but I can’t see where.
I’ve even tried to copy under /*my content*/ all content from twentyeleven style.css , beginning from the wotd “html” . Didn’t work.
I’ve just noticed that when I have a folder “mytwentyeleven” next to twentyeleven and that folder is empty, my wp- control panel shows the template name.
That’s what it is supposed to do. And INSIDE the “mytwentyeleven” folder, you need to have the stylesheet which only has the top section as described in the directions for making a child theme — this:
/*
Theme Name: mytwentyeleven
Description: Child theme for the twentyeleven theme
Author: Your name here
Template: twentyeleven
*/
@import url("../twentyeleven/style.css");
Do not copy any content anywhere or any styles from the parent theme into the style.css file.
Well, thank you.
And INSIDE the “mytwentyeleven” folder, you need to have the stylesheet
that was everything I needed. It is hard to imagine, but I was creating that folder named “style.css” in “mytwentyeleven” and then inserting file style.css via ftp.
Now I have what I wanted to have.
Thank you once more.
LOL! Glad you got it sorted out — it IS confusing when you are doing this kind of thing for the first time — so good job for sticking with it!
should I activate that theme? when I do my blogs looks “O” – just blank site with 0
okay, it works. I’ve changed a few things by now. I really enjoy that php,css, ftp things. So exotic for me!