Forums

[Plug-in NextGEN Gallery] How to center my Nextgen Galleries (5 posts)

  1. miocene22
    Member
    Posted 2 years ago #

    I've got NextGen Gallery on my site and it works great.

    I would like the galleries to be centered on the page if possible.

    Which bit of css do I need to edit to ensure the galleries are centered??

    Please see a page on my site to get an idea of the layout...

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    well....a lot of the time when a plugin doesn't look the way I want it to, I view->source from within the browser, look at what tags are being applied by the plugin, then add thos into my css and style.

    for instance,
    div class="ngg-galleryoverview" is applied to the gallery as a whole

    so adding .ngg-galleryoverview to your css and styling would style any galleries inserted on your site by NextGen Gallery

    dunno if that helps at all, it's how I do things

  3. miocene22
    Member
    Posted 2 years ago #

    cheers, there is an option in the Nextgen backend to edit the css for the plugin so that's not an issue. It's just the right css to center the gallery as the way the gallery is put together makes it hard to figure out...

  4. Club6
    Member
    Posted 2 years ago #

    I think the Rvoodoo solution is great

  5. MikesSite
    Member
    Posted 2 years ago #

    What did you end up doing for this? I have the same issue, been messing around w/ the CSS to solve it.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.