Support » Plugin: WP jQuery Lightbox » [Plugin: WP jQuery Lightbox] supress 'caption' field in popup?

  • Resolved scwtenor


    hi, I have different content in the ‘title’ and ‘caption’ fields for each image in my gallery, and both of those fields are appearing in the popup. I would like to know how to suppress the ‘caption’ field in the popup. so, to be more clear: I want the caption to appear under the thumbnail in the gallery, but only the ‘title’ to appear under the photo in the lightbox. I would use CSS “display: none;” but it looks like the title/caption part of the popup is styled with a span. perhaps there is a line of php I could comment out? thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ulfben


    You only need to do two edits:

    I’ll add specific CSS selectors in the next release so you can do the CSS-hack instead.

    Plugin Author ulfben


    I added captionText and titleText to the development version. Add selectors to your theme’s CSS-files (wp-jquery-lightbox css is replaced on every plugin update!)

    The selectors in work:


    To avoid name collisions you might want to specify part of the hierarchy:
    #lightbox #captionText {}
    #lightbox #titleText {}

    Works the same, just more specific.

    thank you!! very prompt and helpful replies, just what I needed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP jQuery Lightbox] supress 'caption' field in popup?’ is closed to new replies.