Title: remove padding from header
Last modified: August 30, 2016

---

# remove padding from header

 *  [teabythesea](https://wordpress.org/support/users/teabythesea/)
 * (@teabythesea)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/remove-padding-from-header/)
 * Hi there,
 * I have some slight padding above my header, I can’t seem to find out why.. Is
   it the banner removal widget I have installed?
 * [http://www.teabytheseadesigns.co.uk](http://www.teabytheseadesigns.co.uk)

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

 *  [David_G](https://wordpress.org/support/users/questas_admin/)
 * (@questas_admin)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/remove-padding-from-header/#post-6259912)
 * This should do the trick. Change the px to what you want.
 *     ```
       #masthead {
       padding-top: 64px;
       }
       ```
   
 *  Thread Starter [teabythesea](https://wordpress.org/support/users/teabythesea/)
 * (@teabythesea)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/remove-padding-from-header/#post-6259919)
 * Hi there,
 * Thank you! Where about should I place this? I have just added it to the top, 
   but nothing has changed.
 *  [David_G](https://wordpress.org/support/users/questas_admin/)
 * (@questas_admin)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/remove-padding-from-header/#post-6259920)
 * Top of what?
    You want it in your style.css (style sheet). The best way would
   be to use a child-theme or use a custom css plugin. For testing purposes though
   you will find the style sheet in your Dashboard > Themes > editor. Remember that
   any changes to your theme will be lost when you update the theme.
 *  Thread Starter [teabythesea](https://wordpress.org/support/users/teabythesea/)
 * (@teabythesea)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/remove-padding-from-header/#post-6259921)
 * Sorry, I should have added that I added it to the top of my style.css
 *  [David_G](https://wordpress.org/support/users/questas_admin/)
 * (@questas_admin)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/remove-padding-from-header/#post-6259922)
 * you can place it after:
 *     ```
       /* =Reset default browser CSS.
       -------------------------------------------------------------- */
       ```
   
 *  Thread Starter [teabythesea](https://wordpress.org/support/users/teabythesea/)
 * (@teabythesea)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/remove-padding-from-header/#post-6259923)
 * Hm, I have just done that and nothing. Maybe I am just destined to have space
   above my header 🙂
 *  [David_G](https://wordpress.org/support/users/questas_admin/)
 * (@questas_admin)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/remove-padding-from-header/#post-6259927)
 * Try this, I dont think you will like 0px, it pushes your header above the top.
 *     ```
       #masthead {
       padding-top: 53px !important;
       }
       ```
   
 *  Thread Starter [teabythesea](https://wordpress.org/support/users/teabythesea/)
 * (@teabythesea)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/remove-padding-from-header/#post-6259934)
 * Thanks so much, but on my iMac it does not seem to be changing at all.
 *  [David_G](https://wordpress.org/support/users/questas_admin/)
 * (@questas_admin)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/remove-padding-from-header/#post-6259936)
 * you put 530px. but you’re right, it’s not working. You have a pro theme. Contact
   your theme author, they might be able to give better insight as they know how
   they set it up.

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

The topic ‘remove padding from header’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 2 participants
 * Last reply from: [David_G](https://wordpress.org/support/users/questas_admin/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/remove-padding-from-header/#post-6259936)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
