2010年6月1日星期二

调整WordPress中文章行距和字体大小

修改文章行距
进入后台—外观—-编辑,选择样式下的样式表(style.css),然后开始编辑样式表(style.css),查找代码line- height,直到找到.post .content 下的line-height,如下
.post .content {
padding:5px 0 5px 5px;
line-height:23%;
overflow:hidden;
}

将line-height后面的23%改成12px(就是现在设置的行距大小,你可作为参照),更新文件。
修改文章字体大小:
同样是编辑样式表(style.css),查找代码font-size,直到找到body下的font-size,如下:
body {
background:#BEC3C6 url(img/bg.jpg) repeat-x;
color:#555;
font-family:Verdana,"BitStream vera Sans",Helvetica,Sans-serif;
font-size:12px;

将font-size设置成你想要的,更新文件即可。

没有评论:

发表评论