Grow your CSS skills. Land your dream job.

[Solved] WordPress – Order Posts Horizontally

  • # December 3, 2009 at 5:55 am

    Hi,

    I have been working with WP for some months now and I finally managed to create my own theme with help of the great screencasts and Starkers naked theme. But I can’t seem to figure out how to do the following: I want to order my posts next to each other (horizontally) instead of under each other. I tried to find a solution using Google, checked the topic on CSStricks about WP and tried to browse throught all the screencasts but no answer or tips on the problem I got.

    I don’t want to ask the question ‘Can it be done?’ because everything can be done in WP. So I gonna ask ‘How can it be done?’

    Thanks in advance.

    # December 3, 2009 at 6:44 am

    You could give the <div class="post"> in css a fixed width and height, and float:left.

    Then they should go next to eachother.

    Depending on your theme you might need to create or change that div. It should contain all post-data ofcourse (some themes have that post-div containing only the content, not the title etc.)


    TeMc

    # December 3, 2009 at 8:01 am

    I didn’t thought about that. First try it destroyed my layout but with adding a simple wrap arround the blogpost it now shows how I want it. Thanks alot!

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

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".