开发者

Transparent png not showing bg image just bg color in html [closed]

Closed. This question needs debugging details. It is not currently accepting answers.

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百科uestion

I 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:

Transparent png not showing bg image just bg color in html [closed]

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.php


There'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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜