Title: Padding Issue
Last modified: June 28, 2019

---

# Padding Issue

 *  [gigglebooster](https://wordpress.org/support/users/gigglebooster/)
 * (@gigglebooster)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/padding-issue-7/)
 * Hi. I can’t figure out how to correct the padding on my site, I’ve tried everything.
   If I set the photo gallery to wide width, it adds a small padding on top of the
   images so that the page title has too big of a gap between it and the pictures.
   If you go to my site zachs.art and click graphic design on top, you will see 
   this gap between the words graphic design and the photos. However, I created 
   a test page and did not set the gallery on that to wide width. If you click that
   page on top, you will see that the spacing between the words test page and the
   image are correct. I just can’t seem to figure out what in the CSS code is causing
   this. Any help would be greatly appreciated, thanks.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpadding-issue-7%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Juhi Saxena](https://wordpress.org/support/users/juhise/)
 * (@juhise)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/padding-issue-7/#post-11681079)
 * Hey [@gigglebooster](https://wordpress.org/support/users/gigglebooster/)
 * I noticed when we add a wide width gallery, it adds an element `<ul class="wp-
   block-gallery alignwide columns-1 is-cropped">` so adding `margin-top:0` to these
   class will remove that extra margin.
 * In case you are not aware of editing CSS, you just can paste this into **Custom
   CSS under Appearance->Customize**
 *     ```
       .post-content .alignwide {
           padding: 0 5.75%;
           margin-top: 0;
       }
       ```
   
 * Let me know if it works for you.
 * Best Regards,
    Juhi

Viewing 1 replies (of 1 total)

The topic ‘Padding Issue’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Juhi Saxena](https://wordpress.org/support/users/juhise/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/padding-issue-7/#post-11681079)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
