Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #375697

    Dear Sir,

    When I am opening the photo Lightbox.

    How can I display the Photo Title (Like: ABC Product) and Photo Caption / Description (Like : ABC Product is one of the most popular product.)

    Thanks

    #375750

    Hey Addison!

    They will use the alt or title text of your image by default. Your wanting to change it so they use the caption or description?

    Which shortcode are you using? Send us a link to your page and we’ll take a look.

    Regards,
    Elliott

    • This reply was modified 9 years, 11 months ago by Elliott.
    #376046

    Hi Elliott,

    Thanks for your reply, apologized that I just test on my localhost so that have not web link.

    If they will use the alt or title text of my image by default. Can I add some code to preview both ALT and Title text together?

    Thanks

    #376475

    Hey!

    I’m not sure why you would want to do that. It would be easier to just set whatever text you want to display in the title.

    See here, https://kriesi.at/support/topic/social-sharing-on-galleries-enfold-v-3-0-2/.

    You would change the line to this.

    return title + encodeURIComponent(item.el.find('img').attr('alt'));
    

    Cheers!
    Elliott

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.