首页 > 分隔

分隔

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

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

    然后打开index.php,确保每篇日志上都有<div class=”post”>标签。

    编辑style.css,找到:

    .post {

    在里面添加:

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

    大功告成!

    阅读全文

同步内容