Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2297

    I would like to make the width larger for the posts. Is there any way to do that?

    #37451

    Hey,

    you need to change following two entries in style.css:

    .sidebar{
    position: relative;
    width:270px;
    float:left;
    padding:40px;
    left:-1px;
    min-height:150px;
    }

    .entry{
    position: relative;
    clear:both;
    width:500px;
    padding:40px 39px 40px 40px;
    float: left;
    }

    change the width attributes to any values you like – like 500px to 550px and 270px to 220px – this makes the post column 50px wider and the sidebar 50px smaller.

    #37452

    I don’t think that made any change to the sidebar or entry. Seems like the only thing it did was made the retweet button act funky.

    #37453

    Hey,

    Take out the left:-1px; code from the CSS posted above. CSS positioning like this only works when the position: absolute; is used, not position: relative;.

    Let me know how you get on :)

    James

    #37454

    Thanks for your help but that still didn’t change the width :/

    #37455

    Hey, I just saw that you need to change following entry in style.css too:

    .content{
    position: relative;
    float:left;
    width:580px;
    z-index: 3;
    }

    So to sum everything up change the width attributes of all three css entries – increase or decrease them as you like.

    .content{
    position: relative;
    float:left;
    width:580px;
    z-index: 3;
    }

    .sidebar{
    position: relative;
    width:270px;
    float:left;
    padding:40px;
    left:-1px;
    min-height:150px;
    }

    .entry{
    position: relative;
    clear:both;
    width:500px;
    padding:40px 39px 40px 40px;
    float: left;
    }

    As James posted above you can remove left:-1px; – it’s a leftover which is part of the original code and doesn’t have any effect. You can also play with the padding values.

    #37456

    Thank you that changed the width of the post but it made the sidebar completely go away.

    #37457

    Hey,

    What’s the site URL?

    The sidebar is probably still there (albeit hidden) – some tinkering with FireBug will probably reveal the problem.

    James

    #37458

    It doesent work for me. I want the width larger for the post, and I want it to be 600px instead for 500px but i also want the sidebar to be 270px. Is that possible?

    #37459

    Hey,

    I answered your question here: http://www.kriesi.at/support/topic/i-have-two-small-problems

    Please stop cross posting. You can bump your thread but don’t ask the same question twice in two different threads and stop creating new threads with the same question.

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

The topic ‘Changing Width of Posts’ is closed to new replies.