Title: Make padding between header and content
Last modified: August 22, 2016

---

# Make padding between header and content

 *  [justcam](https://wordpress.org/support/users/justcam/)
 * (@justcam)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/make-padding-between-header-and-content/)
 * Hi
 * I’m trying to close the gap between my header bar and my content slider on my
   home page [http://www.justcam.co.za](http://www.justcam.co.za).
 * I’d also like to remove the footer from this page only

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/make-padding-between-header-and-content/#post-5221217)
 * for example, add via a [‘custom CSS’ plugin](http://wordpress.org/plugins/search.php?q=custom+css)
   or a [child theme](http://codex.wordpress.org/Child_Themes):
 *     ```
       .home .site-header-main { padding-bottom: 0; }
       .home .site-content { padding-top: 0; }
       .home #site-footer .footer-widget-container { display: none; }
       ```
   
 * `.home` makes each style specific to the home page (review [`body_class()`](http://codex.wordpress.org/Function_Reference/body_class));
   if you want the style site wide, remove `.home` from the respective style(s).
 * the third line hides the footer via CSS.
 * if you want to remove it from the code, you will probably need to edit footer.
   php of your theme;
    please post in your theme’s forum at [http://wordpress.org/support/theme/make/](http://wordpress.org/support/theme/make/)
 * please post in
 *  Thread Starter [justcam](https://wordpress.org/support/users/justcam/)
 * (@justcam)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/make-padding-between-header-and-content/#post-5221351)
 * Sorted – awesome thanks

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

The topic ‘Make padding between header and content’ is closed to new replies.

## Tags

 * [footer](https://wordpress.org/support/topic-tag/footer/)
 * [vertical spacing](https://wordpress.org/support/topic-tag/vertical-spacing/)

 * 2 replies
 * 2 participants
 * Last reply from: [justcam](https://wordpress.org/support/users/justcam/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/make-padding-between-header-and-content/#post-5221351)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
