Support » Plugin: NextGEN Gallery - WordPress Gallery Plugin » Why can't I center my albums and thumbnails

  • Resolved Jeff F.


    I don’t know what I’m doing wrong. I can text align center the album descriptions in my style.css file but I use this for the gallery and it goes nowhere.

    .ngg-albumoverview {
    text-align: center;

    I also tried putting a special ngg.css file in the wp-content/ngg styles folder as it said on the NextGen page in the dashboard and that didn’t work either. Any one have a similar experience trying to center the content?

Viewing 5 replies - 1 through 5 (of 5 total)
  • @jefferytodd, this is a FAQ, and a simple Google global search would have given you the answer

    @tizz Perhaps I used the wrong search terms and apologize for any inconvenience or misconduct. But your response feels like a whole lot of attitude and it’s not welcome.


    I apologize, I woke up to a bunch of junk this morning and I’m misreading your response, you’re just taking things as quickly and efficiently as you can. The fix did center the thumbnails but I didn’t really express my needs. I only have three albums and I tried to pad them individually to space them out or wondered if there was a way to center those three on the page.

    @jefferytodd, Your second impression is the right one, at least in my intentions (I’m sorry but English is not my native language).
    Centering gallery’s thumbnails is a very common question, but now I understand that you want to center the compact album, and this isn’t a FAQ 😉
    You say that you’ll always have only three galleries, so change the paddings and/or margins would have been easier, but not stable.
    I’ve made some test in Firebug, and in the following way if you’ll add one or two galleries more they will be always centered (I hope):

    .ngg-album-compact {
    display: inline-block;
    float: none !important;
    text-align: center;

    I recommend to add this in CSS custom area.
    Edit: if it doesn’t work, add !important to the other properties too.

    Yeah they only have three albums so I guess that’s the best i can do huh?

    And again, sorry for my quick reaction, that was very rude on my part.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Why can't I center my albums and thumbnails’ is closed to new replies.