WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. chiarabcn85
    Member
    Posted 8 months 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 8 months 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 8 months ago #

    ok thank you for your help

Reply

You must log in to post.

About this Plugin

About this Topic