Title: Gallery Padding
Last modified: August 22, 2016

---

# Gallery Padding

 *  Resolved [IndiGoTravelAsia](https://wordpress.org/support/users/indigotravelasia/)
 * (@indigotravelasia)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/gallery-padding/)
 * Is it possible to adjust the padding?
 * I would like to decrease the padding above and below the gallery when inserted
   on a page.
 * Thanks.
 * [https://wordpress.org/plugins/responsive-photo-gallery/](https://wordpress.org/plugins/responsive-photo-gallery/)

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

 *  Plugin Author [Weblizar – WordPress Themes & Plugin](https://wordpress.org/support/users/weblizar/)
 * (@weblizar)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/gallery-padding/#post-5460238)
 * Yes, you are able to decrease the padding between images.
 * But first, can you me share your gallery url ? Then i will able to provide you
   a css code.
 * Thanks
 *  [go01labs](https://wordpress.org/support/users/go01labs/)
 * (@go01labs)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/gallery-padding/#post-5460463)
 * Hi! I have a similar problem. Can you tell me how to adjust the padding on all
   sides? Coincidentally, would that affect the padding between images? Sorry, I’m
   a newbie to WordPress but I’m trying to make the gallery full width as well as
   flush to the header.
 * Here is my url:
    [http://lucyjunus.com/wp/](http://lucyjunus.com/wp/)
 * Thanks!
 *  Plugin Author [Weblizar – WordPress Themes & Plugin](https://wordpress.org/support/users/weblizar/)
 * (@weblizar)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/gallery-padding/#post-5460464)
 * Hi Go1labs,
 * Just modify some CSS code in a plugin file.
 * **File:** img-gallery.css
    **File Path:** [http://lucyjunus.com/wp/wp-content/plugins/responsive-photo-gallery-pro-2/css/img-gallery.css](http://lucyjunus.com/wp/wp-content/plugins/responsive-photo-gallery-pro-2/css/img-gallery.css)
 *     ```
       .gal-container {
           display: block;
           margin-bottom: 60px; /* modify 60px value */
           overflow: auto;
           padding-top: 20px; /* modify 20px value */
       }
       ```
   
 * Use [WP Editor](https://wordpress.org/plugins/wp-editor/) plugin to edit plugin
   code. Install plugin on site.
    Then go to Plugins –> Plugins Editor. Select plugin
   from list. Open CSS directory and click on `img-gallery.css` file to open in 
   editor. Find above code line and modify padding property according to you.
 * Thanks
    Alex
 *  [go01labs](https://wordpress.org/support/users/go01labs/)
 * (@go01labs)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/gallery-padding/#post-5460465)
 * Thanks! Do you know if the padding on the left and right sides can be adjusted
   as well?

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

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

 * ![](https://s.w.org/plugins/geopattern-icon/responsive-photo-gallery_443b39.svg)
 * [Responsive Photo Gallery](https://wordpress.org/plugins/responsive-photo-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/responsive-photo-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/responsive-photo-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/responsive-photo-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/responsive-photo-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/responsive-photo-gallery/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [go01labs](https://wordpress.org/support/users/go01labs/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/gallery-padding/#post-5460465)
 * Status: resolved