Jump to content

Hide titles in image gallery, but show description

Recommended Posts

Site URL: https://thedetoureffect.com/blog/la-fortuna

Hey guys,

I only want this change to happen on one image gallery on one page of my site, not all image galleries across my entire site. It's a slideshow image gallery. I want the image descriptions to show up (which include photo credit), but I do not want the titles of the images to show up (they are just SEO titles). And not just on hover; I want the descriptions to always be there and the titles to never be there. I found similar questions elsewhere on the forums and tried using the code suggested for other people but it's not working. 

Whatever code I use, should I also check or uncheck the "show title and description" area in the gallery design? I suppose if that box is checked, then the code should focus on hiding the title. If that box is unchecked, the code should focus on showing the description...?

Any ideas? Thank you!

Link to comment
  • Replies 6
  • Views 923
  • Created
  • Last Reply

Top Posters In This Topic

On 9/27/2021 at 5:44 AM, TheDetourEffect said:

As you wish, I have now checked the "Show Title and Description" box. 

If it's the block ID you're after, it's #block-yui_3_17_2_1_1534801545666_87139

Add to Design > Custom CSS

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

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.