用图片分隔WordPress日志 | WordPress啦!

来源:百度文库 编辑:神马文学网 时间:2024/10/04 17:27:25

想尝试下用漂亮的图片分隔WordPress里的日志吗?往下看吧:

首先你需要选定分隔用的图片,可以去这里看看。选好图片后,把图片上传到wp-content/themes/yourthemes/images目录中。

然后打开index.php,确保每篇日志上都有

标签。

编辑style.css,找到:

.post {

在里面添加:

background: transparent url(images/yourimage.jpg) no-repeat bottom;

大功告成!