In Theme Twenty Eleven, how do I get rid of the gray area at the top and move everything on the page up?

The gray area here: https://img.skitch.com/20110808-ncu19ep6fw47s9pxhqxa99qmcb.jpg

Thanks,

link|improve this question

3  
I suggest reading this guide or this one then use Chrome developer tools to find where the margins or padding are located and make your adjustments. This is a basic CSS question and not really related to WordPress. – Chris_O Aug 8 '11 at 2:11
feedback

closed as off topic by Rarst Oct 6 '11 at 11:52

Questions on WordPress - Stack Exchange are expected to generally relate to WordPress, within the scope defined in the faq.

3 Answers

On line 74 in style.css of twenty eleven theme

#page {
margin: 2em auto;
max-width: 1000px;

}

change with this:

margin: 0 auto 2em;

0 is for top, auto is for left and right, 2em is for bottom.

link|improve this answer
feedback

Add the following code to your style.css to remove the margin on top

#page {
    margin-top: 0;
}
link|improve this answer
feedback

Just go to your user profile in your admin dashboard and see Show Admin Bar and unchecked the "when viewing site" and click "update profile"

link|improve this answer
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.