WordPress.org

Forums

NextGEN Gallery
[resolved] Why can't I center my albums and thumbnails (6 posts)

  1. Jeff F.
    Member
    Posted 1 year ago #

    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?

    http://the-cat-club.com

    http://wordpress.org/plugins/nextgen-gallery/

  2. tizz
    Member
    Posted 1 year ago #

    @jefferytodd, this is a FAQ, and a simple Google global search would have given you the answer

  3. Jeff F.
    Member
    Posted 1 year ago #

    @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.

  4. Jeff F.
    Member
    Posted 1 year ago #

    @tizz

    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.

  5. tizz
    Member
    Posted 1 year ago #

    @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.

  6. Jeff F.
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic