Title: Creating horizontal lines between posts?
Last modified: August 19, 2016

---

# Creating horizontal lines between posts?

 *  [antoniop](https://wordpress.org/support/users/antoniop/)
 * (@antoniop)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/creating-horizontal-lines-between-posts/)
 * I’m wondering, how can I create a horizontal line between my posts @ [http://www.atriskstoriesofhope.com/wordpress](http://www.atriskstoriesofhope.com/wordpress)
 * If you look at [http://freakonomics.blogs.nytimes.com/](http://freakonomics.blogs.nytimes.com/)
   you will see what I mean by having horizontal lines between the posts.
 * Antonio

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Roger Theriault](https://wordpress.org/support/users/rogertheriault/)
 * (@rogertheriault)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/creating-horizontal-lines-between-posts/#post-798467)
 * `<hr />`
 * Goes in your theme, inside the loop, wherever you need it.
 *  Thread Starter [antoniop](https://wordpress.org/support/users/antoniop/)
 * (@antoniop)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/creating-horizontal-lines-between-posts/#post-798649)
 * Where is the loop located? i.e. what file do I need to edit
 *  [Roger Theriault](https://wordpress.org/support/users/rogertheriault/)
 * (@rogertheriault)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/creating-horizontal-lines-between-posts/#post-798651)
 * The Loop is between
 *     ```
       <?php while (have_posts()) : the_post(); ?>
       ```
   
 * and
 *     ```
       <?php endwhile; ?>
       ```
   
 * and if inside that you have a `<div>` and a `</div>`, try it anywhere inside 
   there until it’s the way you like it.
 * You might need to change index.php, or category.php, or archive.php… depends 
   on what you already have in your theme directory.
 * If you know CSS, another way would be to create a bottom border on that same 
   DIV element. You’d do that in style.css.
 *     ```
       div.post {
          border-bottom: 1px black solid;
       }
       ```
   
 * (PS you’re in the Plugins and Hacks forum… this type of question probably belongs
   in the Theme forum where folks think about this type of stuff in their sleep 
   and may know a few more ways to do it. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Creating horizontal lines between posts?’ is closed to new replies.

 * 3 replies
 * 2 participants
 * Last reply from: [Roger Theriault](https://wordpress.org/support/users/rogertheriault/)
 * Last activity: [17 years, 11 months ago](https://wordpress.org/support/topic/creating-horizontal-lines-between-posts/#post-798651)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
