Title: Remove margin and border between thumbnails
Last modified: August 16, 2019

---

# Remove margin and border between thumbnails

 *  Resolved [NaturalEnquirer](https://wordpress.org/support/users/naturalenquirer/)
 * (@naturalenquirer)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/remove-margin-and-border-between-thumbnails/)
 * Using Elementor Pro, Hello theme.
 * In any gallery format, if I set margin to zero, there is still space between 
   images. Also there is a thin line around each thumbnail.
 * I’ve tried adding to gallery custom setting (and Elementor custom CSS)
 *     ```
       .foogallery-thumbnail a,
       .foogallery-thumbnail a:hover {
           border: 0px !important;
           margin: 0px !important;
           border: none !important;
           box-shadow: none !important;
       }
       ```
   
 * No change. Suggestions please. Thank you.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fremove-margin-and-border-between-thumbnails%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [phillcoxon](https://wordpress.org/support/users/phillcoxon/)
 * (@phillcoxon)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/remove-margin-and-border-between-thumbnails/#post-11850471)
 * Hi [@naturalenquirer](https://wordpress.org/support/users/naturalenquirer/),
 * It’s very difficult for us to offer feedback without access to the page so we
   can view the code and see what might be interfering with the CSS.
 * Is it possible for you to put a staging copy of the site online that we can look
   at?
 *  Thread Starter [NaturalEnquirer](https://wordpress.org/support/users/naturalenquirer/)
 * (@naturalenquirer)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/remove-margin-and-border-between-thumbnails/#post-11850627)
 * I do appreciate that! For now, I will table this issue until site is further 
   developed and on staging site. May sort itself out by then. Thanks.
 *  [phillcoxon](https://wordpress.org/support/users/phillcoxon/)
 * (@phillcoxon)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/remove-margin-and-border-between-thumbnails/#post-11865640)
 * Hi [@naturalenquirer](https://wordpress.org/support/users/naturalenquirer/),
 * That sounds great. I close this support request for now – please open it again
   when you would like us to look at the site for you.
 * Thank you!
 *  Thread Starter [NaturalEnquirer](https://wordpress.org/support/users/naturalenquirer/)
 * (@naturalenquirer)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/remove-margin-and-border-between-thumbnails/#post-11938472)
 * For benefit of others, I realized that the thin line around each thumbnamil was
   caused by drop shadow being set to outline.

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

The topic ‘Remove margin and border between thumbnails’ is closed to new replies.

 * ![](https://ps.w.org/foogallery/assets/icon-256x256.gif?rev=2602542)
 * [Photo Gallery by FooGallery : Responsive Image Gallery, Masonry Gallery & Carousel](https://wordpress.org/plugins/foogallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/foogallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/foogallery/)
 * [Active Topics](https://wordpress.org/support/plugin/foogallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/foogallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/foogallery/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [NaturalEnquirer](https://wordpress.org/support/users/naturalenquirer/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/remove-margin-and-border-between-thumbnails/#post-11938472)
 * Status: resolved