WordPress.org

Forums

NextGEN Gallery
NextGEN Gallery 2.0.40. - set caption width (3 posts)

  1. chiarabcn85
    Member
    Posted 1 year ago #

    I'm using NextGEN Gallery by Photocrati Version 2.0.40. (FREE)
    I'd like to create a thumbnail gallery with captions below every image.

    I use this code inside the page where I want to show my thumbnail gallery:
    [nggallery id=01 template=caption]

    I have a problem with the caption size.
    I would like to set a caption width depending to the image width.
    My thumbs are not cropped, their height is fixed to 200px width.
    The captions are quite long and there is no limit to their width.
    This creates very ugly white spaces between each thumbnails.

    How can I set a caption width depending by the thumbnail width?

    Here you can see my gallery

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

  2. harmonyinfotech
    Member
    Posted 1 year ago #

    It may not be possible without changing the plugin code. You can specify fixed width for the caption though using following css code.

    .ngg-gallery-thumbnail span
    {
    width:300px;
    }

  3. chiarabcn85
    Member
    Posted 1 year ago #

    ok thank you for your help

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic