Title: css &#8211; remove padding from image
Last modified: August 31, 2016

---

# css – remove padding from image

 *  [Kristad](https://wordpress.org/support/users/kristad/)
 * (@kristad)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/css-remove-padding-from-image/)
 * Hi
    On this test page [http://sopafinearts.com/new/test-2/](http://sopafinearts.com/new/test-2/)
   I would like to have the slider go right against the images. No margin or spacing
   on top or bottom. How can I remove the spacing below the first image and above
   the slider.
 * Thank you in advance.
    K.

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

 *  [rgchang](https://wordpress.org/support/users/rgchang/)
 * (@rgchang)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/css-remove-padding-from-image/#post-7297695)
 * hey Kristad,
 * try this code in your style.css
 * .content p {
    margin-bottom: 0px; }
 *  Thread Starter [Kristad](https://wordpress.org/support/users/kristad/)
 * (@kristad)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/css-remove-padding-from-image/#post-7297704)
 * hi rgchang
 * Thanks but that didn’t work 🙁
 * K.

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

The topic ‘css – remove padding from image’ is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [Kristad](https://wordpress.org/support/users/kristad/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/css-remove-padding-from-image/#post-7297704)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
