Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Block Background Opacity without Changing TEXT


Posted (edited)

I'm trying to change a text blocks background color and opacity using this css:

#block-yui_3_17_2_1_1583796715032_20149 {
 background: #f0f0f0;
 padding: 50px;

BUT the change in opacity effects the text as well, which I don't want.  How do I isolate just the background opacity so that the text stays solid?

UPDATE - I figured it out, had to change HEX to RGBA.

Edited by thefrolickinglime

Share this post

Link to post

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...