Title: Space between Posts?
Last modified: August 19, 2016

---

# Space between Posts?

 *  [tHaDuDe](https://wordpress.org/support/users/thadude/)
 * (@thadude)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/space-between-posts-1/)
 * Hey guys! I’ve got a small problem and i cant get it to work.
 * Here is my site: dudeins.de
 * Now, first post is perfect, after that there is the pagenavigation and after 
   that the other posts. All of the other posts show up in one big post. They dont
   have a seperation between them. I want the seperation so that every single post
   has a border on top and bottom. When you search for something there is no problem,
   every post has its own box.
 * Here is my code for index.php:
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome).
   Please use the [pastebin](http://wordpress.pastebin.com)]_

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

 *  Thread Starter [tHaDuDe](https://wordpress.org/support/users/thadude/)
 * (@thadude)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/space-between-posts-1/#post-1820940)
 * Is this a css problem??
 *  [Root](https://wordpress.org/support/users/root/)
 * (@root)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/space-between-posts-1/#post-1820951)
 * heck yes…………..adjust the post spacing, borders and any other fancy stuff in css…
   the selector in most themes is `div.post {etc}`
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/space-between-posts-1/#post-1820952)
 * it is a html structure problem.
 * starting here:
 *     ```
       <div class="entry">
       <h2 class="sectionhead">Weitere Schnäppchen</h2>
   
       <?php if (have_posts()) : while (have_posts()) : the_post();
       ```
   
 * the div `.entry` is opened just after ‘pagebar’ and only closed after the full
   row of posts.
 * if you want to wrap each post into its own div `.entry`, you need to re-write
   the code: [http://wordpress.pastebin.com/JB82AHnr](http://wordpress.pastebin.com/JB82AHnr)
 *  [Root](https://wordpress.org/support/users/root/)
 * (@root)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/space-between-posts-1/#post-1820969)
 * well maybe
    but adding top margin to div.post h2 would do it………
 *  Thread Starter [tHaDuDe](https://wordpress.org/support/users/thadude/)
 * (@thadude)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/space-between-posts-1/#post-1820984)
 * Thank You 🙂 , it worked, now what do i have to add to the css to get a small
   space between two posts?
 *  [Root](https://wordpress.org/support/users/root/)
 * (@root)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/space-between-posts-1/#post-1820986)
 * glad i helped dude, a link to yr blog would let us see whats going on
 *  [Root](https://wordpress.org/support/users/root/)
 * (@root)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/space-between-posts-1/#post-1820987)
 * sorry
    i see it its standard markup
 * yr posts are in div.post
    add some margin-top for them
 *  Thread Starter [tHaDuDe](https://wordpress.org/support/users/thadude/)
 * (@thadude)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/space-between-posts-1/#post-1820995)
 * Putting a top margin in the div class=post wont work. Any ideas?
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/space-between-posts-1/#post-1821007)
 * as you were dealing with the div `.entry` you probably already guessed:
 * edit style.css and find:
 *     ```
       .entry { width: 550px; line-height:140%; padding:10px; background:#fff; border:1px solid #dadada; -moz-border-radius: 5px; -khtml-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; -moz-box-shadow: 2px 2px 2px #EBEBEB; -webkit-box-shadow: 2px 2px 2px #EBEBEB; }
       ```
   
 * add `margin-bottom:10px;` to it.
 *  Thread Starter [tHaDuDe](https://wordpress.org/support/users/thadude/)
 * (@thadude)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/space-between-posts-1/#post-1821037)
 * Thank you so much. 🙂 Lets see if i find something else 😛
 *  [Root](https://wordpress.org/support/users/root/)
 * (@root)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/space-between-posts-1/#post-1821096)
 * Dang
    It’s in there somewhere lol 😉

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

The topic ‘Space between Posts?’ is closed to new replies.

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [post](https://wordpress.org/support/topic-tag/post/)
 * [seperation](https://wordpress.org/support/topic-tag/seperation/)

 * 11 replies
 * 3 participants
 * Last reply from: [Root](https://wordpress.org/support/users/root/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/space-between-posts-1/#post-1821096)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
