Title: top margin?
Last modified: August 18, 2016

---

# top margin?

 *  [dpearson](https://wordpress.org/support/users/dpearson/)
 * (@dpearson)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/top-margin/)
 * I cant seem to figure out how to shrink the top margin. On the stylesheet it 
   looks like all the margins are set to 0, but there is still a big gap. I am not
   a coder by any means so Im probably just missing something easy. Any ideas?
    
   My music journal- recent photos of greenday, social distortion and cake 🙂 [http://www.derekpearson2.com/updates](http://www.derekpearson2.com/updates)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/top-margin/#post-112717)
 * I assume it’s your header that’s dropping the content down as I see no header
   image.
 *  Thread Starter [dpearson](https://wordpress.org/support/users/dpearson/)
 * (@dpearson)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/top-margin/#post-112724)
 * thanks! I will try and fgure out how to just delete the header since Im not using
   one.
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/top-margin/#post-112725)
 * It’s just the one line of code in index.php
 *  Thread Starter [dpearson](https://wordpress.org/support/users/dpearson/)
 * (@dpearson)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/top-margin/#post-112728)
 * I saw that, but it says to not remove that line. I tried it anyway and the page
   gave me error line 3 ?
 *  [Beel](https://wordpress.org/support/users/beel/)
 * (@beel)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/top-margin/#post-112732)
 * Yes, that is the culprit. You don’t have to delete it. You could have #header{
   margin:-20px 0 -20px 0} (or some other amount) in your css.
 *  Thread Starter [dpearson](https://wordpress.org/support/users/dpearson/)
 * (@dpearson)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/top-margin/#post-112869)
 * hmm-I found that one, deleted it and got the same error.
    Beel- Do I type that
   in somewhere in the css or add it to something existing? Does it matter what 
   order I add it if its existing? Thanks for your help people!
 *  Thread Starter [dpearson](https://wordpress.org/support/users/dpearson/)
 * (@dpearson)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/top-margin/#post-112920)
 * Thanks Beel, what I mean to say is that I deleted it and then got a fatal error
   page, so I put it back in.
    I put the code you suggested in the css and it worked
   grand. thanks!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘top margin?’ is closed to new replies.

 * 7 replies
 * 3 participants
 * Last reply from: [dpearson](https://wordpress.org/support/users/dpearson/)
 * Last activity: [21 years, 4 months ago](https://wordpress.org/support/topic/top-margin/#post-112920)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
