Jump to content

CSS code regarding text background displays only when I go to "Custom CSS"

Recommended Posts

I have an issue with the effects of one code displaying only when I go to Design --> Custom CSS. It has to do with this code specifically, which creates a translucent-white background for text in a specified block:

#block-848b3e4b0bc6ae27ccc5 {   <---- my block ID

background-color: #f0f0f088;

padding: 1px;

text-align: center;

}

 

Any ideas what went wrong?

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

This is nice, because the background color is stable now, but it's not transparent /translucent. It's just solid gray. Is there a way to keep the transparency/opacity effect which I had with the alpha: 88?

 

#block-848b3e4b0bc6ae27ccc5 {

background-color: #f0f0f088; <--- the 88 is the alpha (responsible for the translucency, color opacity)

padding: 1px;

text-align: center;

}

 

 

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.