html - 如何在 css 中更改宽度?

标签 html css wordpress

我有这个页面
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/

相关文章:

Wordpress 使用 slug 获取分类名称

php - 上传文件为空 Laravel 5.4

html - 基于子元素居中div

jQuery 在 prev 中找到相同的 td。和下一行

html - iPhone 不能很好地与带有 CSS 的标题一起使用?

html - 将未知宽度元素置于已知宽度元素的中心

jquery - 使用 Jquery 悬停时菜单颜色淡入淡出

php - WordPress 获取 pdf 附加链接到帖子

javascript - 如何进行输入,以便编写 javascript 代码,然后将其保存在脚本中?

html - 如何在居中的 flexbox div 容器中换行?