Transparent png not showing bg image just bg color in html [closed]
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this q开发者_JS百科uestionI have a logo that is a transparent png and i want to overlay it on my bg image but when i do it shows only the background color.
Here is an example:
I am using a modified copy of the WP theme Colourise
The Css is here: http://files01.s0urc3.ismywebsite.com/colourise/style.css And the page here: http://s0urc3.ismywebsite.com/index.phpThere's this rule on line 87 of the CSS:
img {
background: #1B1B1B;
border: 1px solid #1B1B1B;
padding: 5px;
}
It's applying a background color to every image. You'll need to override this for the logo or remove it entirely.
精彩评论