Jump to content

How to hide image title on Wells Gallery

Go to solution Solved by seanconroy,

Recommended Posts

Hi all,

I'm looking to hide the title (and maybe the description) of the images in my gallery pages so that I can better use the alt tags.

I'm using the Wells Theme and I have about 100 images across 4 galleries. I am ranking poorly in my local area and I want to improve this.

I don't think anyone wants to read 'photo of model X at Deadly Studios, Dublin. She is looking away from the camera with red and green lighting illuminating her face.' etc.

Any advice?I've seen other solutions, but none have worked for me so far. I'm assuming I need a code workaround?

Many thanks, Sean

Edited by seanconroy
Initial Revision
Link to comment
  • Replies 13
  • Views 2k
  • Created
  • Last Reply

Top Posters In This Topic

@seanconroy Add to Home > Design > Custom CSS


/* Hide Green Title */
.collection-type-gallery .slide-meta-wrapper .image-title {
   visibility: hidden;
}
/* Hide Black Date */
.collection-type-gallery .slide-meta-wrapper .image-desc {
   visibility: hidden;
}

see how to insert code to Custom CSS: https://beaverhero.com/squarespace-how-to/#HowtoInsertCustomCSS

Some CSS for Wells: https://beaverhero.com/squarespace-all-css/

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
  • Solution

Thank you - that works a treat.The only downside is that on desktop, there's a white box that appears where thte text should be.

I can't seem to turn this off in the settings.

Thanks for your help so far - honestly, it's really appreciated - but is there anything I can do about this?

Many thanks, Sean

alt text

2019-08-03.jpg.8d4c0de1d428360882582883255b291d.jpg

Link to comment

@seanconroy You're welcome. You can click Accept Answer if it worked. Other members can use it.

--We do not receive anything from Squarespace when answering the question here. You can click Up vote, a little fun for those who answered questions.

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
  • 2 years later...

@tuanphan I am currently redesigning my site to Wells, so the link won't work, but attached are screenshots.
I attempted the CSS code: 

Quote

 

/* Hide Green Title */
.collection-type-gallery .slide-meta-wrapper .image-title {
   visibility: none;
}
/* Hide Black Date */
.collection-type-gallery .slide-meta-wrapper .image-desc {
   visibility: none;
}

 

 

 

But it is not working and displaying the title and description.
As @seanconroy mentioned, the "visibility: hidden;" leaves a white box.

Additionally, both "visibility: hidden;" and "visibility: none;" do not work on the mobile version of  the site.

Do you know of a solution here that hides both the title and descriptions for the Wells template, without the white box?

Thanks!

Screen Shot 2022-01-25 at 10.15.35 AM.png

Screen Shot 2022-01-25 at 10.15.51 AM.png

Screen Shot 2022-01-25 at 10.30.13 AM.png

Screen Shot 2022-01-25 at 10.30.57 AM.png

Edited by arpllc
Clarifying
Link to comment
8 hours ago, arpllc said:

@tuanphan I am currently redesigning my site to Wells, so the link won't work, but attached are screenshots.
I attempted the CSS code: 

But it is not working and displaying the title and description.
As @seanconroy mentioned, the "visibility: hidden;" leaves a white box.

Additionally, both "visibility: hidden;" and "visibility: none;" do not work on the mobile version of  the site.

Do you know of a solution here that hides both the title and descriptions for the Wells template, without the white box?

Thanks!

Screen Shot 2022-01-25 at 10.15.35 AM.png

Screen Shot 2022-01-25 at 10.15.51 AM.png

Screen Shot 2022-01-25 at 10.30.13 AM.png

Screen Shot 2022-01-25 at 10.30.57 AM.png

visibility: none = show 

try replace it with display: none !important;

If it doesn't work, you can share link to your site (or a Well template site) where we can see image title, we can check easier

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

Thanks, but it's still not working. I used:

Quote

/* Hide Green Title */
.collection-type-gallery .slide-meta-wrapper .image-title {
   display: none !important;
}

I currently am displaying the galleries publicly with the titles and descriptions removed. The galleries with the active titles and descriptions are at at https://www.andyryanphotographer.com/architectural-interiors-photography-2.

Thanks

Edited by arpllc
Link to comment
On 1/30/2022 at 6:55 PM, arpllc said:

Thanks, but it's still not working. I used:

I currently am displaying the galleries publicly with the titles and descriptions removed. The galleries with the active titles and descriptions are at at https://www.andyryanphotographer.com/architectural-interiors-photography-2.

Thanks

Use this code

.collection-type-gallery.hide-meta .meta .image-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

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.