Title: Remove Space From Top
Last modified: November 8, 2016

---

# Remove Space From Top

 *  [adgsound](https://wordpress.org/support/users/adgsound/)
 * (@adgsound)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/remove-space-from-top/)
 * Hey I removed the header from [this page](http://www.adgmastering.com/landingpage2/)
   using css
 *     ```
       .page-id-8428 header {
           display: none;
       }
       ```
   
 * But there’s still some of the header showing at the top (its the red part about
   a centimeter and a half, I tried to use this css to fix it but can’t seem to 
   get it to work.
 *     ```
       body.page-id-8428 #content .main .pageclass {
           padding: 0px 15px 20px;
       }
       ```
   
 * Any guidance would be appreciated? I probably have the wrong class.

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

 *  [ThemeSumo](https://wordpress.org/support/users/themesumo/)
 * (@themesumo)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/remove-space-from-top/#post-8412244)
 *     ```
       .page-id-8428 #Subheader {
           display: none;
       }
       ```
   
 * Hope this helps.
    -  This reply was modified 9 years, 6 months ago by [ThemeSumo](https://wordpress.org/support/users/themesumo/).
 *  [midimatt](https://wordpress.org/support/users/midimatt/)
 * (@midimatt)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/remove-space-from-top/#post-8412255)
 * What you have showing at the top is the “Subheader” div
    `<div id="Subheader"
   >`
 * Add your display:none CSS code to that as well to make it disappear.
 *  [midimatt](https://wordpress.org/support/users/midimatt/)
 * (@midimatt)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/remove-space-from-top/#post-8412270)
 * I should mention – The code you display above isn’t found … just the code to 
   hide the main header:
 *     ```
       .page-id-8428 header {
           display: none;
       }
       ```
   
 * Just change that to
 *     ```
       .page-id-8428 header,
       .page-id-8428 #Subheader {
           display: none;
       }
       ```
   
 *  Thread Starter [adgsound](https://wordpress.org/support/users/adgsound/)
 * (@adgsound)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/remove-space-from-top/#post-8413299)
 * Thank you you’re right. Much blessings to you my friend!!

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

The topic ‘Remove Space From Top’ is closed to new replies.

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [padding](https://wordpress.org/support/topic-tag/padding/)
 * [Remove Header](https://wordpress.org/support/topic-tag/remove-header/)
 * [spacing](https://wordpress.org/support/topic-tag/spacing/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [adgsound](https://wordpress.org/support/users/adgsound/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/remove-space-from-top/#post-8413299)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
