Title: Center thumbs
Last modified: August 21, 2016

---

# Center thumbs

 *  Resolved [hymer](https://wordpress.org/support/users/hymer/)
 * (@hymer)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/center-thumbs/)
 * The thumbnails are not centered on [http://varosvedo.hu/konyvvasar/](http://varosvedo.hu/konyvvasar/).
   How can I center them?
 * [https://wordpress.org/plugins/nextgen-gallery/](https://wordpress.org/plugins/nextgen-gallery/)

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

 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/center-thumbs/#post-5142703)
 * [@hymer](https://wordpress.org/support/users/hymer/) – You will need to add some
   custom CSS to center the images in your layout, I would suggest something along
   the lines of the following:
    `.ngg-gallery-thumbnail img { display: inline; }`
 * You may need to add the `!important` directive as well.
 * Thanks!
 * – Cais.
 *  Thread Starter [hymer](https://wordpress.org/support/users/hymer/)
 * (@hymer)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/center-thumbs/#post-5142802)
 * Thank you for `.ngg-gallery-thumbnail img` However display:inline had no effect.
   Then I wrote `margin-left:auto; margin-right:auto;` and it works.
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/center-thumbs/#post-5142805)
 * [@hymer](https://wordpress.org/support/users/hymer/) – I’m glad you sorted it
   out. Well done!
 * Thanks for the update, too!
 * – Cais.
 *  [hkmurphyart](https://wordpress.org/support/users/hkmurphyart/)
 * (@hkmurphyart)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/center-thumbs/#post-5142936)
 * Greetings! I’m no slouch when it comes to CSS scripting, but I am rather new 
   to WYSIWYG’s, and I’m helping a friend build her website with Photocrati. I’m
   running into the same problem of thumbnails not centering within the gallery,
   and reached the same conclusion, that a CSS rule would fix it, but I have no 
   way of knowing how to manually enter CSS coding into the theme. Can you tell 
   me where in the Dashboard I would go about doing that? Please and thank you….
 * – Logan
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/center-thumbs/#post-5142937)
 * [@hkmurphyart](https://wordpress.org/support/users/hkmurphyart/) – Please start
   your own topic so we can try to help you with your specific issue on your specific
   site … canned text aside, look under Gallery > Other Options > Style to add custom
   CSS via NextGEN Gallery’s interface.
 * But, if that doesn’t work, please do start a new topic for this.
 * Thanks!
 * – Cais.

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

The topic ‘Center thumbs’ 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/)

 * 5 replies
 * 3 participants
 * Last reply from: [photocrati](https://wordpress.org/support/users/photocrati/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/center-thumbs/#post-5142937)
 * Status: resolved