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:
  2.  
  3. .post {
  4.  
  5. background: transparent url(images/yourimage.jpg) no-repeat bottom;

URL: http://www.wprecipes.com/how-to-separate-each-post-with-an-image

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.