Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1270952

    I am creating my own Woo Commerce Product page and I am using the Gallery Element for the pictures. I do not want the image description text to show when the images open in lightbox. In the Gallery Element under Advanced Link Settings I have chosen No Text but the description still shows when I preview the gallery. How can I turn the description off so only the images show in Lightbox.

    #1271765

    Hey RosannaK,

    Thank you for the inquiry.

    The lightbox by default uses the title of the image or the value of the title attribute as the image description. To hide it, we could use this css code.

    .mfp-title {
       display: none !important;
    }
    

    You could also edit the title and caption value of the images in the Media > Library panel.

    Best regards,
    Ismael

    #1272270

    Thanks for your help Ismael. This has helped.

    #1272280

    Hi,

    Did you need additional help with this topic or shall we close?

    Best regards,
    Jordan Shannon

    #1272519

    Hi Jordan,

    Thanks so much for this code. It works great. You can close this request.

    #1272547

    Hi,

    If you need additional help, please let us know here in thee forums.

    Best regards,
    Jordan Shannon

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Delete Lightbox Image description in Gallery Element’ is closed to new replies.