gpt4 book ai didi

css - WordPress主题 "Twenty Fifteen"背景

转载 作者:太空宇宙 更新时间:2023-11-04 08:53:30 24 4
gpt4 key购买 nike

我正在为一个网站使用 Wordpress“Twenty Fifteen”主题。

我想更改侧边栏左侧的背景颜色,但我不知道该怎么做。我可以更改正文、页面、边栏等的背景,但不能更改边栏左侧区域(具有相同颜色)。

最佳答案

第 1 步 - 转到主题的管理员。外观 > 自定义,如屏幕截图所示。 enter image description here

第 2 步 - 转到“附加 Css”选项卡 -

enter image description here

第 3 步 - 在该选项卡中添加 css,如下所示。随心所欲地赋予自己的颜色。

body:before{     background-color: yellow;}/* Css for left part only*/
.sidebar{background-color: blue;}/* Css for the sidebar*/

enter image description here

Note: You have to specify both colors for both left part only and sidebar here only then only it will work properly.

关于css - WordPress主题 "Twenty Fifteen"背景,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43277949/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com