我尝试更改所有博客文章的字体大小和行高,但没有用。我做错了什么?
示例页面:http://neuronade.com/kopie-sdfsdf-3
尝试过的代码:
.mk-single-content{
line-height: 1.5em !important;
font-size: 120% !important;
}
最佳答案
将该选择器更改为
.mk-single-content * {
line-height: 1.5em !important;
font-size: 120% !important;
}
这会选择 .mk-single-content
元素内的所有 元素。如果您只想解决内部的特定元素,请使用它们的标签而不是“*”
关于css - 更改字体大小和行高 wordpress,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37192051/