Title: Make background transparent
Last modified: August 31, 2016

---

# Make background transparent

 *  Resolved [maledictum](https://wordpress.org/support/users/maledictum/)
 * (@maledictum)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/make-background-transparent-2/)
 * Hello, I am trying to make the background transparent on the homepage. Currently,
   the code from the theme looks like this :
 *     ```
       /* Body Background Color */
   
       .l-body {
   
       	background-color: <?php echo us_get_option( 'color_body_bg' ) ?>;
   
       	}
       ```
   
 * However, I do not know where this hooks up, so I’m trying to make sure where 
   it would be best to use the `<body bgcolor=transparent>` tag, if that’s indeed
   the best way to go about this.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Jason King](https://wordpress.org/support/users/jasoncharlesstuartking/)
 * (@jasoncharlesstuartking)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/make-background-transparent-2/#post-7127172)
 * Don’t use body bgcolor, it’s not supported in HTML5. Instead use:
 * background-color: rgba ( 0, 0, 0, 0.5 );
 *  = black background with 0.5 opacity.
 * background-color: rgba ( 0, 0, 255, 0.3);
 *  = blue with 0.3 opacity
 *  [webperts](https://wordpress.org/support/users/webperts/)
 * (@webperts)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/make-background-transparent-2/#post-7127175)
 * You can also try below code to make background color transparent for all browsers.
 * .webperts_transparent {
    width: 100%; -ms-filter:”progid:DXImageTransform.Microsoft.
   Alpha(Opacity=50)”; filter: alpha(opacity=50); -moz-opacity:0.5; -khtml-opacity:
   0.5; opacity: 0.5; }
 * Hope it will work for you.
 *  Thread Starter [maledictum](https://wordpress.org/support/users/maledictum/)
 * (@maledictum)
 * [10 years ago](https://wordpress.org/support/topic/make-background-transparent-2/#post-7127427)
 * Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Make background transparent’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [maledictum](https://wordpress.org/support/users/maledictum/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/make-background-transparent-2/#post-7127427)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
