【问题标题】:Changed Blogger Background Transparency Now Images Not Transparent更改了 Blogger 背景透明度现在图像不透明
【发布时间】:2021-02-13 13:32:32
【问题描述】:

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

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

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

效果非常好。帖子透明度现在是我想要的,但无意的副作用是,当我上传具有透明背景的图像(商业徽标或社交媒体按钮)时,图像背景显示为白色 - 正如您从徽标中看到的那样登陆页面。

有没有办法解决这个问题?

谢谢,

M.

【问题讨论】:

    标签: html image blogger


    【解决方案1】:

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

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

    【讨论】:

      猜你喜欢
      • 2012-09-18
      • 2021-10-08
      • 2017-06-04
      • 2012-09-20
      • 1970-01-01
      • 1970-01-01
      • 2013-03-04
      • 2011-09-15
      • 1970-01-01
      相关资源
      最近更新 更多