Support » Themes and Templates » How to? Display category posts in 2 colums

Viewing 2 replies - 1 through 2 (of 2 total)
  • How are you with CSS? In styles.css try:

    .post {
    border-left:1px solid #ddd;
    padding:0 12px;
    .post:nth-child(odd) {

    I haven’t tested this but off the top of my head this should give you two posts side by side with a faint grey line in between them. The padding makes sure that there is a gap between the content of the post and the line, while the second rule prevents the left hand side posts from also having a left border.

    Of course you could add whatever styling you want with CSS, if you’d prefer not to have a vertical border between the posts etc.

    This is most likely the easiest way without customising a template file for this purpose. Hopefully it should at least get you somewhere near.

    If your not sure how to edit styles.css:
    You can access styles.css in the admin panel’s theme editor, just select the file from the right hand list, scroll to the bottom of the file and paste the code there.

    Worst comes to worst and my code doesn’t work simply edit the file again and delete what you just pasted!


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to? Display category posts in 2 colums’ is closed to new replies.