Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/string/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Colors 我能';t删除菜单的白色背景色_Colors_Background - Fatal编程技术网

Colors 我能';t删除菜单的白色背景色

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%; } 问题是我无法从菜单中删除白色背景,如下图所示:

我整天都在试图解决这个问题,但没有成功。 我想更改主页上的背景色。为此,我使用了以下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%;
}
问题是我无法从菜单中删除白色背景,如下图所示:

www.albertostophotography.com/home

谢谢你的帮助

添加以下内容:

.navbar {
    background-color: #F5F5DC;
}

编辑

更好的解决方案-从
站点
类中删除
背景色
属性。现在你有:

.site {
    background-color: #fff;
    margin: 0 auto;
    width: 100%;
}

非常感谢您抽出时间。我非常感谢。@Alberto Soto对StackOverflow的评论:选择提供的答案作为解决方案比在评论中感谢要好。它将反过来向答案提供者表达您的感激之情,最重要的是,它将帮助解决类似问题的未来用户。快乐编码!好啊再次感谢你!