Title: Centering galleries
Last modified: August 21, 2016

---

# Centering galleries

 *  Resolved [lbart](https://wordpress.org/support/users/lbart/)
 * (@lbart)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/centering-galleries-1/)
 * I don’t understand why it is so hard to center a NexGEN gallery. I’ve spent 3
   hours thus far trying to center one stupid gallery on my page. From the support
   pages I’ve been reading, people have been having this problem for FOUR years.
   What’s up? I have a simple 15-image gallery presented in 3 5-image lines. It 
   left-justifies and nothing will center it. On other sites I’ve just plunked in
   a gallery, said “center” and center it does. Not so here.
 * Do I have to take special classes at the university to learn the code allowing
   me to center my NexGEN gallery? It’s frustrating. Has anyone come up with a solution?
   Is there a different gallery plug-in that centers easier?
 * [http://wordpress.org/plugins/nextgen-gallery/](http://wordpress.org/plugins/nextgen-gallery/)

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

 *  Thread Starter [lbart](https://wordpress.org/support/users/lbart/)
 * (@lbart)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/centering-galleries-1/#post-3992474)
 * .
 *  [majikfraug](https://wordpress.org/support/users/majikfraug/)
 * (@majikfraug)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/centering-galleries-1/#post-3992476)
 * Same Question!
 *  [majikfraug](https://wordpress.org/support/users/majikfraug/)
 * (@majikfraug)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/centering-galleries-1/#post-3992477)
 * Found solution.
    [http://wpbugs.com/2013/05/nextgen-gallery-thumbnail-centering/](http://wpbugs.com/2013/05/nextgen-gallery-thumbnail-centering/)
 * Go into the nextgen “gallery” menu in wordpress, click on “other options”, then“
   styles”, then “show customization options” and paste the code underneath the 
   text that’s already there.
 * I just copied/pasted the bottom three parts, since those are the ones that actually
   cause the thumbnails to center.
 * I had to adjust the width and height values in the code since I had already customized
   my thumbnail sizes to 300×300 in the Gallery Settings/NextGEN Basic Thumbnails
   menu.
 * It worked for me: [http://www.highdesertmultimedia.com/sample-work-posters/](http://www.highdesertmultimedia.com/sample-work-posters/)

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

The topic ‘Centering 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

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

 * 3 replies
 * 2 participants
 * Last reply from: [majikfraug](https://wordpress.org/support/users/majikfraug/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/centering-galleries-1/#post-3992477)
 * Status: resolved