Support » Themes and Templates » [Plugin: NextGEN Gallery] Captions breaking gallery layout

  • Hi everyone, I searched through all the previous posts and didn’t see an answer for this, but if it’s a repeat question I apologize.

    I would like my gallery template to display the caption beneath each thumbnail. Some pictures may not have any captions, and some might have captions that are up to 15 words long.The problem is that captions of differing lengths push down their individual divs and prevent images from being displayed below them, so they get bumped one slot to the right. Here’s a screenshot:

    Since each div is generated with the exact same code, there’s no way to style it to give it space aside from assigning each div or caption span with a height, which I don’t want to do.

    The only solution I can think of is to change the code generated by the plugin to put the divs into a table. Perhaps with some counter variable that increments with each image, so every 5 images (in my case) it would close the table row and start a new one. The problem is, naturally, I don’t know how to code this.

    This is the only solution I can think of, but has anyone else already resolved this problem somehow? Or have any advice for how to go about doing it?

    Thanks for any help.

  • The topic ‘[Plugin: NextGEN Gallery] Captions breaking gallery layout’ is closed to new replies.