Title: Style sheet used for basic thumbnail galleries
Last modified: August 22, 2016

---

# Style sheet used for basic thumbnail galleries

 *  Resolved [acekin](https://wordpress.org/support/users/acekin/)
 * (@acekin)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/style-sheet-used-for-basic-thumbnail-galleries/)
 * I noticed that some of my galleries, mainly some older ones, display the thumbnail
   grid differently. Take a look at this old one which has a six column grid:
    [http://www.keptlight.com/on-shadows-and-clouds/](http://www.keptlight.com/on-shadows-and-clouds/)
 * and compare that with the following with a seven column grid:
    [http://www.keptlight.com/up-close-on-hope-2013/](http://www.keptlight.com/up-close-on-hope-2013/)
 * The thumbnails in both are 100 pixels wide but the margin-right attribute is 
   different. The style sheet used for the first one comes from:
    /wp-content/plugins/
   nextgen-gallery/products/photocrati_nextgen/modules/nextgen_basic_gallery/static/
   thumbnails/nextgen_basic_thumbnails.css?ver=4.1
 * but the second gallery uses a style sheet coming from:
    /wp-content/ngg_styles/
   nggallery.css?ver=4.1
 * Is there a way to make all the galleries use the same style sheet? Should this
   be taken care of in the software by design?
 * Thank you,
 * Cemal
 * [https://wordpress.org/plugins/nextgen-gallery/](https://wordpress.org/plugins/nextgen-gallery/)

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

 *  Thread Starter [acekin](https://wordpress.org/support/users/acekin/)
 * (@acekin)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/style-sheet-used-for-basic-thumbnail-galleries/#post-5677554)
 * I forgot to add that I have a one-line css in the /wp-content/ngg_styles folder
   which sets the margin-right attribute to zero. It seems to apply to some galleries
   but not others.
 * Cemal
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/style-sheet-used-for-basic-thumbnail-galleries/#post-5677666)
 * [@acekin](https://wordpress.org/support/users/acekin/) – There are still cases
   where the custom CSS stylesheet is not being honored as the last styles to be
   applied, we are working towards correcting this issue still.
 * As it is, I would recommend adding the `!important` directive to each of the 
   properties in your custom CSS to ensure they take precedence.
 * Thanks!
 * – Cais.
 *  Thread Starter [acekin](https://wordpress.org/support/users/acekin/)
 * (@acekin)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/style-sheet-used-for-basic-thumbnail-galleries/#post-5677669)
 * Why didn’t I think of that? 😉 But I’m glad I didn’t because it made me bring
   it to your attention.
 * Thanks,
 * Cemal
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/style-sheet-used-for-basic-thumbnail-galleries/#post-5677671)
 * [@acekin](https://wordpress.org/support/users/acekin/) – No worries. It’s been
   an ongoing issue we have been chipping away at … unfortunately the current work-
   around generally requires the additional CSS directive to sort out.
 * – Cais.

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

The topic ‘Style sheet used for basic thumbnail galleries’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

## Tags

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

 * 4 replies
 * 2 participants
 * Last reply from: [photocrati](https://wordpress.org/support/users/photocrati/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/style-sheet-used-for-basic-thumbnail-galleries/#post-5677671)
 * Status: resolved