Jump to content

Need help with CSS For Visibility of Carousel Description Text/Overlay

Recommended Posts

Posted

Hi Squarespace Community,

We have a Carousel gallery of media relations work where we'd like simple SEO descriptions to appear on hover with overlay. I was able to execute all of the initial setup, but I cannot change the colour of the text or opacity of the overlay in the gallery editor. An increased background opacity or text colour change, or even a drop shadow CSS solution could allow the text to be more visible on various images. We are comfortable executing this as site-wide CSS, as the changes wouldn't impact any of our other galleries. 

If you have any CSS ideas we can test out that would be so greatly appreciated! TIA!

Posted (edited)

@HeatherDevonComms Hi! You can add this code under Custom CSS to change the overlay opacity of background.

.sqs-gallery-block-slideshow.sqs-gallery-block-meta-position-bottom .meta {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(30, 30, 30, .9) 100%) !important;
}

To change the font color you can add this code:

.sqs-gallery-block-slideshow .meta .meta-title {
    color: #494141 !important;
}

 

Edited by Lesum

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

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