Title: Reduce vertical margin/padding/border/spacing
Last modified: August 20, 2016

---

# Reduce vertical margin/padding/border/spacing

 *  [chrisjarvis](https://wordpress.org/support/users/chrisjarvis/)
 * (@chrisjarvis)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/reduce-vertical-marginpaddingborderspacing/)
 * Hey guys.
 * I’ve got a problem with my theme, The space in between what I believe are called
   containers are too large. The theme uses a 960 grid system; [workaholic](http://demo.graphpaperpress.com/workaholic/).
 * It looks like I’ve got 20px padding below the header, 20px above the slider, 
   what looks like vertical padding all over the place but I can’t find any reference
   to the padding in my heading file, style.css or 960.css.
 * [Here’s the site, currently under construction.](http://tinyurl.com/leisureforce)
 * [http://tinyurl.com/leisureforce](http://tinyurl.com/leisureforce)
 * I don’t have a large amount of experience, lowest common denominator language
   is welcome.
 * Thanks.

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

 *  [marinaa](https://wordpress.org/support/users/marinaa/)
 * (@marinaa)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/reduce-vertical-marginpaddingborderspacing/#post-2295551)
 * The body which is above the header has a top margin of 10px.
 * Inside the header div, there is another div with the class sf-menu. That has 
   a bottom margin of 1em/11px.
 * Right after the header div closes, there is an hr with a bottom margin of 20px.
 * For the vertical padding/margin – can you be more specific. Which areas would
   you like to modify?
 *  Thread Starter [chrisjarvis](https://wordpress.org/support/users/chrisjarvis/)
 * (@chrisjarvis)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/reduce-vertical-marginpaddingborderspacing/#post-2295583)
 * Thanks for the reply marinaa.
 * I want to reduce the overall ‘spacing’ above and below the hr (between the header
   and the slider) to about 10 px above and below the hr line.
 * I also want to reduce the overall ‘spacing’ to 10 px above and below the hr below
   the slider, above the grid posts.
 * I removed the reference in the header.php to the SF menu, but it had no effect.
 * Thanks.
 *  [marinaa](https://wordpress.org/support/users/marinaa/)
 * (@marinaa)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/reduce-vertical-marginpaddingborderspacing/#post-2295609)
 * For the sf menu, try not displaying it:
 * `.sf-menu {display: none;}`
 * Then adjust the margins for hr.grid_12 to what you want.
 * There is a 14px space b/w the bottom of the sf menu and top of the first hr.gird-
   12 that I can’t account for.
 * I do hope this helps.

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

The topic ‘Reduce vertical margin/padding/border/spacing’ is closed to new replies.

## Tags

 * [border](https://wordpress.org/support/topic-tag/border/)
 * [grid](https://wordpress.org/support/topic-tag/grid/)
 * [padding](https://wordpress.org/support/topic-tag/padding/)
 * [px](https://wordpress.org/support/topic-tag/px/)
 * [spacing](https://wordpress.org/support/topic-tag/spacing/)
 * [Workaholic](https://wordpress.org/support/topic-tag/workaholic/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [marinaa](https://wordpress.org/support/users/marinaa/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/reduce-vertical-marginpaddingborderspacing/#post-2295609)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
