Jump to content

Changing the overlay opacity of text background

Recommended Posts

Site URL: https://www.nimpairings.com

Hello Squarespace Community,

I use Squarespace 7.1 and I would like to know if there is a way to change the overlay opacity of the new text background feature. So far, I can only add a solid white background but I would like a white background with 50% opacity. Is there a way to achieve this using custom CSS?

Thanks a lot for your help!

Ninon 

Link to comment

Hello again, 

I tried using this code on a specific block and I got a text background with 50% opacity but the text itself is also becoming less opaque, which I don't want. What should I add to the code to keep the text fully opaque and bright? 

{

background: #013220;

padding: 10px;

opacity: .5 !important;

text-align: center;

 

}

Thanks a lot for your input!

Screenshot 2022-08-16 at 21.11.28.png

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.