[Plugin: NextGEN Gallery] Request: Adding a div with class to the thumbs box (3 posts)

  1. Pepe Huerta
    Posted 6 years ago #

    Hi, thanx for and excelent plugin.

    My request is fairly simple: a div tag to enclose the whole thumbnail display ([gallery=xxx]) with a special class to allow, for example, centering the whole thumbnails box with CSS.

    Atm I cant find another way to do it and adding a div each time I want to post becomes a very slow task since the editor likes to remove custom divs inside the post code.

    Thank you!

  2. Lovelidicious
    Posted 6 years ago #

    I second the idea of centering the gallery. I now add a margin-left into the CSS to make it seems centered on my layout. I wish NextGen Gallery can center the thumbnails with an option or something. It will be very helpful. :)

  3. Pepe Huerta
    Posted 6 years ago #

    @Lovelidicious: It just needs a div class="ngg-thumb" or something so anybody can style it via CSS as you do with regular WP functions like IMG captions or even the standard wordpress classes.

Topic Closed

This topic has been closed to new replies.

About this Topic