Posted By

rickfu on 02/07/09


Tagged

css wp


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Bluewall


How to: Separate each post with an image


 / Published in: CSS
 

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

  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;

Report this snippet  

You need to login to post a comment.