Title: Need CSS to decrease top padding in woo storefront.
Last modified: August 30, 2016

---

# Need CSS to decrease top padding in woo storefront.

 *  Resolved [HansTheHobbit](https://wordpress.org/support/users/hansthehobbit/)
 * (@hansthehobbit)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/need-css-to-decrease-top-padding-in-woo-storefront/)
 * Hi, thanks for helping me! My problem is that I’ve inserted code into my child
   theme to get rid of the page titles and the horizontal line in my Woo StoreFront
   theme, and now I have this huge gap between my header and page content.
 * [http://www.grippwerx.com](http://www.grippwerx.com)
 * Can anyone give me some CSS to get rid of that gap? I’m hesitant to try writing
   my own CSS as I’ve already crashed my site once trying to do that, and the worst
   of it is that I still have no idea how I managed that, lol.

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

 *  [DFranzwa](https://wordpress.org/support/users/dfranzwa/)
 * (@dfranzwa)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/need-css-to-decrease-top-padding-in-woo-storefront/#post-6342790)
 * [@hansthehobbit](https://wordpress.org/support/users/hansthehobbit/) ~
 * Use a child theme or a custom css file and place this into the css file:
 * .home.blog .site-header, .home.page:not(.page-template-template-homepage) .site-
   header, .home.post-type-archive-product .site-header {
    margin-bottom: 0; }
 * If you don’t put it in a custom file, it will be overwritten and go away on the
   very next update.
 * Hole that helps,
    Dave
 *  Thread Starter [HansTheHobbit](https://wordpress.org/support/users/hansthehobbit/)
 * (@hansthehobbit)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/need-css-to-decrease-top-padding-in-woo-storefront/#post-6342793)
 * Thank you!!!
 * I put it in my child theme’s CSS file, and it worked absolutely perfectly. Thanks
   again.
 *  [DFranzwa](https://wordpress.org/support/users/dfranzwa/)
 * (@dfranzwa)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/need-css-to-decrease-top-padding-in-woo-storefront/#post-6342795)
 * You’re welcome
 *  Thread Starter [HansTheHobbit](https://wordpress.org/support/users/hansthehobbit/)
 * (@hansthehobbit)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/need-css-to-decrease-top-padding-in-woo-storefront/#post-6342800)
 * Now how do I get it to work on the rest of the pages?
 *  Thread Starter [HansTheHobbit](https://wordpress.org/support/users/hansthehobbit/)
 * (@hansthehobbit)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/need-css-to-decrease-top-padding-in-woo-storefront/#post-6342801)
 * Like this one for example?
 * [http://www.grippwerx.com/about-us/](http://www.grippwerx.com/about-us/)
 *  [DFranzwa](https://wordpress.org/support/users/dfranzwa/)
 * (@dfranzwa)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/need-css-to-decrease-top-padding-in-woo-storefront/#post-6342806)
 * [@hansthehobbit](https://wordpress.org/support/users/hansthehobbit/) ~
    Try this:
 * .woocommerce-breadcrumb {
    margin-bottom: 0; } .content-area, .widget-area { 
   margin-top: -50px; }
 *  Thread Starter [HansTheHobbit](https://wordpress.org/support/users/hansthehobbit/)
 * (@hansthehobbit)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/need-css-to-decrease-top-padding-in-woo-storefront/#post-6342826)
 * That did it. Seriously, thank you. I really appreciate you taking the time to
   help me.
 *  [DFranzwa](https://wordpress.org/support/users/dfranzwa/)
 * (@dfranzwa)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/need-css-to-decrease-top-padding-in-woo-storefront/#post-6342827)
 * Anything for a Hobbit

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

The topic ‘Need CSS to decrease top padding in woo storefront.’ is closed to new
replies.

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [gap](https://wordpress.org/support/topic-tag/gap/)

 * 8 replies
 * 2 participants
 * Last reply from: [DFranzwa](https://wordpress.org/support/users/dfranzwa/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/need-css-to-decrease-top-padding-in-woo-storefront/#post-6342827)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
