Title: Transparent header
Last modified: August 21, 2016

---

# Transparent header

 *  [Benoit Lecours](https://wordpress.org/support/users/benoit-lecours/)
 * (@benoit-lecours)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/transparent-header-3/)
 * Hi,
 * I’m using the theme Minimalizine and i’m not able to import my logo with a tranparent
   background.
 * I’ve tried to modify the custom-header.css to put
 * `background: transparent;`
 * but my logo still have a white background.
 * [http://www.systemcenterdudes.com](http://www.systemcenterdudes.com)
 * Thanks for your help.

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

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [11 years, 11 months ago](https://wordpress.org/support/topic/transparent-header-3/#post-4962495)
 *     ```
       .header-image img {
        background: transparent;
       }
       ```
   
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/transparent-header-3/#post-4962499)
 * your theme or site is not calling a _custom-header.css_ stylesheet.
 * please try working with a browser inspection tool to identify which style you
   need to edit to make the header image background transparent, or post in your
   theme’s forum at [https://wordpress.org/support/theme/minimalizine#postform](https://wordpress.org/support/theme/minimalizine#postform)
 *  Thread Starter [Benoit Lecours](https://wordpress.org/support/users/benoit-lecours/)
 * (@benoit-lecours)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/transparent-header-3/#post-4962507)
 * Hi Andrew,
 * I’ve applied the code provided in the
 * /* Header section of style.css but still the same result.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/transparent-header-3/#post-4962559)
 * the white background of the header image is set here:
 *     ```
       /* Media */
       img.size-full,
       img.size-large,
       .header-image img,
       img.wp-post-image,
       .entry-content img,
       .entry-summary img,
       .comment-content img,
       .widget img {
       	background: #fff;
       	border: 1px solid #eee;
       	max-width: 97.6%; /* Fluid images for posts, comments, and widgets */
       	padding: 5px;
       }
       ```
   
 * overwirite it by adding **exactly **the /css suggested by [@andrew](https://wordpress.org/support/users/andrew/).
 *  Thread Starter [Benoit Lecours](https://wordpress.org/support/users/benoit-lecours/)
 * (@benoit-lecours)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/transparent-header-3/#post-4962619)
 * Awesome, that did the trick. I’ve also add
 * width:540px;
    height: auto;
 * to resize the logo size.
 * Thanks for your help.
 * Ben

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

The topic ‘Transparent header’ is closed to new replies.

 * 5 replies
 * 3 participants
 * Last reply from: [Benoit Lecours](https://wordpress.org/support/users/benoit-lecours/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/transparent-header-3/#post-4962619)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
