Title: Make header transparent CSS?
Last modified: December 28, 2016

---

# Make header transparent CSS?

 *  Resolved [vpsgeneral](https://wordpress.org/support/users/vpsgeneral/)
 * (@vpsgeneral)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/make-header-transparent-css/)
 * Hey guys!
 * I was trying to make the header for the Sela theme transparent so it shows just
   the logo and the background. I uploaded the logo with a transparent background
   but the theme automatically puts a white background on it.
 * I just want the logo to show and the wood background.
    Is this possible to fix
   with CSS?
 * I was able to achieve using the inspect element by changing this code..but on
   the website it makes the logo and background invisible.
 * .site-branding {
    background: rgba(0, 0, 0, 0); }
 * Thanks so much!
 * The blog I need help with is coffeecraftsandchaos.com

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

 *  [Predrag – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support1/)
 * (@wpmudev-support1)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/make-header-transparent-css/#post-8600306)
 * Hi [@vpsgeneral](https://wordpress.org/support/users/vpsgeneral/),
 * Have you tried using something like this:
 *     ```
       .site-branding {
           background: url(LOGO_URL);
           background-size: contain;
           background-repeat: no-repeat;
           background-position: center;
       }
       ```
   
 * Cheers,
    Predrag
 *  Thread Starter [vpsgeneral](https://wordpress.org/support/users/vpsgeneral/)
 * (@vpsgeneral)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/make-header-transparent-css/#post-8600747)
 * Thank you for the response. I have not made the changes live for my client yet
   but I was able to achieve the desired results with this.
 * She wanted to be able to keep a logo (with a clear background) at the header 
   but remove the white background.
 * The code that was:
 * .site-branding {
    background-color: inherit; }

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

The topic ‘Make header transparent CSS?’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/sela/1.0.17/screenshot.png)
 * Sela
 * [Support Threads](https://wordpress.org/support/theme/sela/)
 * [Active Topics](https://wordpress.org/support/theme/sela/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/sela/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/sela/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [header](https://wordpress.org/support/topic-tag/header/)
 * [sela theme](https://wordpress.org/support/topic-tag/sela-theme/)

 * 2 replies
 * 2 participants
 * Last reply from: [vpsgeneral](https://wordpress.org/support/users/vpsgeneral/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/make-header-transparent-css/#post-8600747)
 * Status: resolved