[英]How do I get rid of gray site container in genesis framework?
Below is my code to get rid of the gray borders surrounding the content in genesis framework. 下面是我的代码,以摆脱创世体框架内容周围的灰色边框。
.site-container {
background: #fff;
margin: 0 auto;
max-width: 1140px;
padding: 0 30px;
}
I'm not sure why this isn't making a change in my website. 我不确定为什么这不会改变我的网站。
Still looks exactly the same. 看起来仍然完全相同。
set background color 设置背景颜色
.site-container {
background-color: #fff;
margin: 0 auto;
max-width: 1140px;
padding: 0 30px;
}
if not solved could be the grey background is related to the parent of you site_container .. 如果没有解决可能是灰色背景与您的site_container的父亲有关..
check for backgrond in body and html or in parent of you container 检查body和html中的backgrond或容器的父级
and set these 并设置这些
background-color: #fff;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.