Jump to content

How to change overlay color in a poster block?

Recommended Posts

Hello! 

I have this in my code which gives me a white overlay over my poster blocks with 65% transparency. How can I change the overlay to black, and also, how do I change the text in the poster block to a different color hex (like white?) Essentially, if you see the image below I want the poster blocks below to look more like the resource header block.

}
.design-layout-poster .image-overlay{opacity:.65;

}

Thank you so much!

Capture.PNG

Link to comment
  • Replies 6
  • Views 1.5k
  • Created
  • Last Reply

Please provide your site url

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
10 hours ago, linyues said:

Hi @bangank36 I'm afraid the site is not currently live so I am unable to. Are you unable to assist without the URL?

 

You can set up a temp password

Site-wide passwords – Squarespace Help

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
4 hours ago, linyues said:

Hi @bangank36 the URL is https://www.silverstrand.capital/resources 

Thank you so much @tuanphan that is really useful for the text, but how can I also change the color of the overlay of the image to black? Thank you! 

Add to Design > Custom CSS

.design-layout-poster .image-overlay {
    background: red !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

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.