如果你对Wordpress主题的行间距不满意,那么可以采用以下方法来解决:
请编辑主题样式表style.css,找到.postContent属性,修改line-height属性就可以了。例如,如本博客主题原本是:
.postContent {
font-family:Verdana,"BitStream vera Sans",Helvetica,Sans-serif;
font-size:12px;
line-height:145%;
padding:0 25px 0 15px;
overflow:hidden;
}
这样产生的文字段间间距只有145%,不是很美观。我们将其改为185%:
.postContent {
font-family:Verdana,"BitStream vera Sans",Helvetica,Sans-serif;
font-size:12px;
line-height:185%;
padding:0 25px 0 15px;
overflow:hidden;
}
这样的行间距比较美观。