Title: Help needed with rows.
Last modified: August 20, 2016

---

# Help needed with rows.

 *  [mfux](https://wordpress.org/support/users/mfux/)
 * (@mfux)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/help-needed-with-rows/)
 * Pastebin(PHP): [http://pastebin.com/3qtezJjU](http://pastebin.com/3qtezJjU)
    
   Pastebin(CSS): [http://pastebin.com/nn2TGeFL](http://pastebin.com/nn2TGeFL)
 * What I am trying to do is set up a row that handles posts, at the moment it is
   fine if there are only 2 posts, however, as soon as more are added then there
   is one post at the top, then a row with 2, then a 3rd row with just one post 
   also.
 * I want the code to make a new row once two posts have been put in to a row, then
   carry on in this manner while there are still posts.
 * After changing the [2] to a [1] in the above code it is fine if I only display
   4 posts on the index page however, 6+ and I get a set up of (row 1 first, number
   of posts); 2,1,1,2.
 * Thanks for any help!
 * _[duplicate: [http://wordpress.org/support/topic/help-needed-with-row-setup?replies=3](http://wordpress.org/support/topic/help-needed-with-row-setup?replies=3)–
   please continue with your original thread, and add more details there, if needed]_

The topic ‘Help needed with rows.’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [mfux](https://wordpress.org/support/users/mfux/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/help-needed-with-rows/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
