Two columns in post

Community Forums Forums General Discussion Two columns in post

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  getor 1 year, 9 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10414

    getor
    Participant
    Post count: 2

    I need two coulumns in some posts. I’m using Metrics.

    I have used the code

    <div class=”one-half first”>

    First column content here

    </div>

    <div class=”one-half”>

    Second column content here

    </div>

    But it don’t work.

     

    This is one of the pages where it is not working http://www.lykkelys.no/alle-lysene/

    Any tips?

     

    #10582

    Brian Gardner
    Keymaster
    Post count: 19

    I would add some CSS to that so you can control how the two columns function. Try adding this to your theme’s style.css file:

    [css].one-half {
    float: left;
    width: 49%;
    }[/css]


    #10631

    getor
    Participant
    Post count: 2

    I added this code but that didn’t fix it.

    Looking over the html I found in the text, there was <div> before and after the heading “Tre engler”. When I removed them it worked.

    Thanks for you quick reply Brian.

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

The topic ‘Two columns in post’ is closed to new replies.