Center thumbnails under the Galleria slide show

I really like the Galleria slide show included with TTG CE4 Pages, Stage, and Theme for WordPress. It makes for a nice, elegant presentation. My personal preference is to not include the thumbnails below the slide show, but others like to have them there.

One slight problem is how those thumbnails are presented. If you have a lot of images in the slide show, the thumbnails take up all the available space beneath the slide show. And this looks fine. But if you only have a few images, the thumbnails look like they’re aligned to the left (actually, they’re positioned to the left) and it doesn’t look quite right.

A number of people on the TTG community forum have asked how to center these thumbnails. And it’s really quite easy using custom css. You’ll first need to enable phplugins site-wide and enable custom css within the phplugins.php file.

Here’s what you need to add to your custom css file:

/*Galleria thumbnails styling
.galleria-thumbnails {
margin: 0 auto;

And this is what you’ll get.

Leave a Reply

Your email address will not be published. Required fields are marked *

About this site

This site is: a repository of time-savers and best practices from a user's perspective, picked up from several years of using TTG plugins.
This site is not: a support site.
Read more here.

Tip Jar

If this site has saved you some time, kept your hair attached, or otherwise prevented you from tossing the mouse through the monitor, feel free to donate.


Highly recommended. This is my go-to Lightroom book. Click on the book image. (affiliate link)

Affiliate link!

Current TTG versions

Backlight Versions

Backlight 1.2.3
Pages module 1.2.3
Cart Add-on 4.1.5
Client Response Add-on 7.1.2
Theater Add-on 1.2.5
WordPress Add-on 1.2.5
Publisher 3.2.3

CE4 Versions

note: CE4 is no longer being developed or sold. See this post.

TTG-BE: 2.0.5a
Autoindex: 7.0.8
Cart: 3.1.4a
CRG: 6.1.3a
Gallery: 6.1.10
Pages: 7.0.15
Publisher: 2.3.3
Stage: 6.1.6
Theme for WordPress: 3.1.2

Subscribe to new posts