Viewing 3 replies - 1 through 3 (of 3 total)
  • +1
    I would really like to see titles or captions in the fullscreen lightbox.
    A quick word from the developer that it is not forthcoming would also be welcome if that is the case.

    I have been digging a bit in the js, css and html, and it seems that the problem is twofold:

    1) In the CSS there is:

    .blueimp-gallery > .title {
    display: none;
    }

    and it has to be set to “block” for the title to show up in the lightbox.

    2)
    But even so, there is no title for the the js to fetch in the html, so the script has nothing to display.

    In the html for an image opened in the lightbox, there is an empty h3 tag which should contain the title. We can test this by adding text in developer mode to the following line, and it will show up as the title of the image (if display block has been set in the css beforehand):

    <h3 class="title"></h3>

    However, how to get the titles we enter in wpadmin to be generated by the js/php and populated into each image’s h3 tag, is beyond my knowledge, since I am not any good with js/jq or php.

    Perhaps someone with more knowledge could give a hand now that the location of the malfunction is identified.

    Hi, I would also greatly appreciate it if the option to display a title in photography.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Need Captions with images’ is closed to new replies.