Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
.header-image img {
background: transparent;
}
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
Hi Andrew,
I’ve applied the code provided in the
/* Header section of style.css but still the same result.
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.
Awesome, that did the trick. I’ve also add
width:540px;
height: auto;
to resize the logo size.
Thanks for your help.
Ben