WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
Worked very well (4 posts)

4 stars
  1. lutang
    Member
    Posted 3 months ago #

    Worked well for the most part. I just couldn't get the gallery to center in the page, even though it was inside of centered paragraph tags, but whatever...minor thing which cost it the 5 star rating. Was way better and easier than other free gallery plug-ins, that's for sure.

  2. photocrati
    Member
    Plugin Author

    Posted 2 months ago #

    @lutang - The centering may be more to do with a combination of settings.

    Did you specify the number of columns for the gallery layout, or did you leave it as the default (to have them automatically calculated)?

    - Cais.

    PS: Thanks for the 4-start rating, too! C.

  3. lutang
    Member
    Posted 2 months ago #

    Hi Cais,

    Yes, I specified the number of columns, but I don't believe that has anything to do with the fact that the entire gallery only displays left-aligned, because whether I set 2 columns, or 4 columns, the whole thing is left-aligned.

    I even went into the code, and put this inside of a centered P tag, hoping that would work (it usually does for embedded content and short codes), but nothing. Still left-aligned.

    Sad, but c'est la vie...if you have a fix, I'm all ears. Here's the page:
    http://veterinarymedicalcenter.com/our-1st-annual-pet-fair-was-a-great-success-pictures/

    thanks again,
    Louis

  4. photocrati
    Member
    Plugin Author

    Posted 2 months ago #

    @lutang - Yes, centering that display is rather tricky but much easier when using a fixed width container.

    You can create a "faux" centered look by using some padding-left properties on a couple of different elements ... depending on the look you are after.

    For example:
    .ngg-gallery-thumbnail { padding-left: 20px !important; }

    ... or:

    .ngg-galleryoverview { padding-left: 45px !important; }

    Try these under Gallery > Other Options > Styles to see if that is what you are looking for ... or combine them for more variation.

    - Cais.

    PS: The !important may not be necessary, I added it just in case. C.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.