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

How do I change the background opacity of a block?

Go to solution Solved by tbartels,


  • Answers 6
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular Posts

How would I go about changing the background opacity of a content block? This is the current code I have in the CSS Editor: #block-4e5265faf96ce435b6ce { border-style: double white 10px; backgroun

6 answers to this question

Recommended Posts

  • 3

Use RGBA to set the color, it supports alpha transparency as the 4th parameter:

block-4e5265faf96ce435b6ce {
 border-style: double;
 border-color: white;
 border-width: 10px;
 padding-top: 20px;
 background-color: #afafaf; /* fallback for old browsers */
 background-color: rgba(0, 0, 0, .3);

Edited by Jeng
Link to post
This topic is now closed to further replies.

  • Create New...