How to: Separate each post with an image

/ Published in: CSS
Save to your folder(s)

Copy this code and paste it in your HTML
  1. your wp-content/themes/yourthemes/images directory, open up your index.php file, find the loop and make sure that each post is embedded throught a <div class=”post”> tag. This is the case on most themes.Then, edit your style.css file. Find the following line:
  3. .post {
  5. background: transparent url(images/yourimage.jpg) no-repeat bottom;


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.