Title: Removing Padding with CSS
Last modified: August 30, 2016

---

# Removing Padding with CSS

 *  [wearepangaea](https://wordpress.org/support/users/wearepangaea/)
 * (@wearepangaea)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/removing-padding-with-css/)
 * I’m trying to remove the padding between the header and the main photo on the
   homepage to my site [http://www.wearepangaea.com](http://www.wearepangaea.com).
 * I am using theme junkie custom Css plugin.
 * The problem I’m having is finding the location on my site. I’ll open up the inspect
   element and I can find the green highlighted area that I want to remove but I’m
   not sure what code to type into my custom Css
 * Any info would be greatly appreciated!

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

 *  [surmavanick](https://wordpress.org/support/users/surmavanick/)
 * (@surmavanick)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/removing-padding-with-css/#post-6462381)
 * hi, replace this code in custom css, this will fix.
 * .l-subsection {
    position: relative; padding: 0px 0; background-position: center
   center; background-size: cover; }
 *  Thread Starter [wearepangaea](https://wordpress.org/support/users/wearepangaea/)
 * (@wearepangaea)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/removing-padding-with-css/#post-6462388)
 * Awesome! Thank you!

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

The topic ‘Removing Padding with CSS’ is closed to new replies.

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [wearepangaea](https://wordpress.org/support/users/wearepangaea/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/removing-padding-with-css/#post-6462388)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
