使 WP "Edge" 主题全宽
Make WP "Edge" theme full width
我有与 this user had, except it's a different theme. :) I'm trying to make this page(以及其他类似问题)完全相同的问题,全角而不是带有不可见侧边栏的博客样式。我试着搞乱
.container { max-width:
但我没有得到我所希望的。我只知道 CSS 的最基础知识,所以我真的不知道它是怎么回事。有人可以给我提示吗?
您页面上的某些内容也在另一个名为 #primary
的容器中,该容器应用了 width: 70%
,您可以添加此内容以使该内容 100% 宽度:
#primary {
width: 70%; // Remove this.
width: 100%; // Add this.
}
如果您从 .container
中删除 max-width
,您提供的 sample page 默认为 100% 宽度。
.container {
max-width: 1170px; // Remove this line entirely.
}
我有与 this user had, except it's a different theme. :) I'm trying to make this page(以及其他类似问题)完全相同的问题,全角而不是带有不可见侧边栏的博客样式。我试着搞乱
.container { max-width:
但我没有得到我所希望的。我只知道 CSS 的最基础知识,所以我真的不知道它是怎么回事。有人可以给我提示吗?
您页面上的某些内容也在另一个名为 #primary
的容器中,该容器应用了 width: 70%
,您可以添加此内容以使该内容 100% 宽度:
#primary {
width: 70%; // Remove this.
width: 100%; // Add this.
}
如果您从 .container
中删除 max-width
,您提供的 sample page 默认为 100% 宽度。
.container {
max-width: 1170px; // Remove this line entirely.
}