WordPress主题说明的全宽

我正在使用wp-theme Expositio:

http://expositio.wpshower.com/sample-page/

我想使文本和其他内容(图库)填充整个屏幕, 而不是像从左侧那样占80%。我已经尝试将style.css中的所有宽度设置更改为100%, 但是什么都没有改变!

我还能在哪里寻找隐藏的宽度限制?


#1


在1356行中, style.css是规则body.page.hentry, .page-content, 其属性为max-width:620px;将其更改为100%。必须工作。


#2


这适用于你提供的OP链接

body.page .hentry, .page-content {
    max-width: 100%;
    width: 100%;
}

其他答案似乎都忽略了width属性和max-width。我建议你在单独的样式表上进行更改, 因为这样可以更轻松地更新主题。还要确保你的新样式可以明显替代或替换现有样式。


#3


你应该在style.css的第1054行尝试此操作

body.page .hentry, .page-content {
   width: 100%;
}

#4


哇, 我终于找到了。仅将body.page hentry, .page-content设置为100%还是将

    .site {
        min-width: 100%;
    }

终于做到了。谢谢你的回答

来源:

https://www.srcmini02.com/65099.html

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_41098.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?