我正在使用 Wordpress,并且目前已在我的网站上安装了 Tesseract 主题:(http://instantiwebs . com)
我想删除所有内容的左/右页边距,就像这个网站所做的那样:http://tyler.com/ 。它也使用相同的主题。
我查看了 CSS 样式,但似乎找不到合适的部分进行编辑。样式表位于此处:http://alexardavin.com/instantiwebs.com/wp-content/themes/Tesseract/style.css
非常感谢您的帮助,谢谢!
最佳答案
只需将此代码添加到样式表的底部,它应该适合您。
编辑:确保您有!重要的声明。
#site-banner {
max-width: 100%!important;
padding-left: 20px;
padding-right: 20px;
}
#footer-banner {
max-width: 100%;
padding: 0 20px;
}
#site-banner-right {
right: 20px!important;;
}
关于html - 删除 WordPress 主题上的边距,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31064829/