我有这个页面
http://cristianfertea.ro/blog-personal/
右列已通过,如下所示。
这是因为这段代码
.theme-page-wrapper.right-layout .theme-content,
.theme-page-wrapper.left-layout .theme-content {
width: 90% !important; //This should be the 73%
}
我只想要这个页面上的 70% 的值(value),我试过这个代码
body.page.page-id-7674.theme-page-wrapper.right-layout .theme-content,
.theme-page-wrapper.left-layout .theme-content {
width: 73% !important;
}
不幸的是,此代码无法正常工作,无法理解原因。 你能帮我解决这个问题吗?
最佳答案
换成这个样式试试,
.theme-page-wrapper.right-layout .theme-content, .theme-page-wrapper.left-layout .theme-content {
width: 73% !important;
}
关于html - 如何在 css 中更改宽度?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29743064/