Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 wordpress 主题,在它附带的选项面板中,我可以将背景更改为各种纹理,但我想覆盖它并将其更改为白色。
在我的 CSS 中,我认为这是(屏幕截图)背景所在的位置,但我尝试过使用它,它不断地出现相同的纹理。
有什么想法吗?
非常感谢!
要更改背景图像/颜色,您需要更改 css 行,其中显示:
html, body { background: url(.../admin/images/bg_texture.jpg) fixed repeat; height: 100%; }
url() 部分链接到作为背景纹理的图像。如果您只想要白色背景纹理,则删除 url 部分并替换为以下内容:
html, body { background: #fff; height: 100%; }