Jump to content

How to remove image title and description from gallery images (lightbox view)?

Recommended Posts

Hi, I'm re-doing my website using the York template.

For my portfolio page, I'm using a gallery displayed as a grid where each image can be viewed in a lightbox.

In my gallery, I added a title and sometimes a description for SEO purposes but I realise that this data appears in the front end when the images are opened in a lightbox, which is really unattractive (see attachment).

Is there a code I can use to avoid the title and description to appear on my website but still be accessible by Google? And what do I need to do exactly?

Thanks!

screen-shot-gallery-image-title-overlay.png.ffa66428c90affe18a32aecf5bdd48e8.png

Link to comment
  • Replies 2
  • Views 1.6k
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.