更改了 Blogger 背景透明度,现在图像不透明

Changed Blogger Background Transparency Now Images Not Transparent

我最近开始使用 Blogger 的 Ethereal 模板构建网站:http://healthmindspa.blogspot.com/

背景透明度太浅,背景图片上的字很难看清。有人向我提供了以下修复程序以添加为 HTML/JavaScript 小工具:

<style>
.post-outer {
background: rgba(17, 17, 17, 0.7)!important;
}
</style>

效果非常好。 post 透明度现在如我所愿,但一个无意的副作用是,当我上传具有透明背景的图像(商业徽标或社交媒体按钮)时,图像背景显示为白色 - 如您所见来自着陆页上的徽标。

有什么办法可以解决这个问题吗?

谢谢,

男.

尝试添加到 css。此代码从图像中删除白色背景。

.post-body img {
    background: transparent !important;
    /*box-shadow: none !important;*/ /*this remove shadow*/
}