Colors 我能';t删除菜单的白色背景色
我整天都在试图解决这个问题,但没有成功。 我想更改主页上的背景色。为此,我使用了以下CSS:Colors 我能';t删除菜单的白色背景色,colors,background,Colors,Background,我整天都在试图解决这个问题,但没有成功。 我想更改主页上的背景色。为此,我使用了以下CSS: .page-id-6128 { background-color: #F5F5DC; background-size: cover; padding-top: 0px; padding-bottom: 0px; margin-bottom: 0px; min-height: 100vh; background-position: 50% 100%; } 问题是我无法从菜单中删除白色背景,如下图所示:
.page-id-6128 {
background-color: #F5F5DC;
background-size: cover;
padding-top: 0px;
padding-bottom: 0px;
margin-bottom: 0px;
min-height: 100vh;
background-position: 50% 100%;
}
问题是我无法从菜单中删除白色背景,如下图所示:
www.albertostophotography.com/home
谢谢你的帮助 添加以下内容:
.navbar {
background-color: #F5F5DC;
}
编辑 更好的解决方案-从
站点
类中删除背景色
属性。现在你有:
.site {
background-color: #fff;
margin: 0 auto;
width: 100%;
}
非常感谢您抽出时间。我非常感谢。@Alberto Soto对StackOverflow的评论:选择提供的答案作为解决方案比在评论中感谢要好。它将反过来向答案提供者表达您的感激之情,最重要的是,它将帮助解决类似问题的未来用户。快乐编码!好啊再次感谢你!