Do not edit the Twenty Eleven theme. It is the default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. First create a child theme for your changes.
Okay, Thanks! so then what do I do now?
Activate your child theme and start porting over all of the changes you made in Twenty Eleven.
I tried activating the child theme and it isn’t pulling the twenty eleven formats over. This is what I put for the child theme style.css document
Theme Name: My Twenty Eleven
Theme URI: http://www.alexsandralett.com
Description: The new child theme of Twenty Eleven
Author: Ashley Thompson
Template: twentyeleven
*/
@import url(“../twentyeleven/style.css”):
The import line isn’t working
Thank you! Now how do I edit the spaces?
What spaces? It looks like you have content added. Do you mean the space at the top of the pages?
The space under the black menu bar to where the Post starts on the homepage. I think it has something to do with padding maybe?
There are two CSS codes that you need to add to the new stylesheet:
#main {
padding: 0 0 0 0;
}
.hentry {
padding: 0 0 0 0;
}
Yes, it’s related to padding.
on the style.css find:
.singular.page .hentry {
padding: 3.5em 0 0;
}
and replace with this:
.singular.page .hentry {
padding: 0;
}
and
#main {
clear: both;
padding: 1.625em 0 0;
}
replace with:
#main {
clear: both;
padding: 0;
}
If I have a child theme I don’t have a style.css sheet to replace code on, I have the import code for 2011. I tried adding this to the style sheet but I still have a space there?
#main {
padding: 0 0 0 0;
}
.hentry {
padding: 0 0 0 0;
}