Viewing 2 replies - 1 through 2 (of 2 total)
  • It is because the content div is set to span the entire page, pushing the sidebar below any content you enter on the portfolio page.

    One way around this is to adjust the width of your content area. Add this to your css:

    #content {
        float: left;
        margin: 0 20px 0 0;
        width: 700px;
    }

    Your original content area width was 940px.

    NOTE: This will adjust any content area on your entire website. So, if you see this problem on other pages, then you should be okay.

    However, if it negatively affects other pages, you can force the code to only work on the page in question. Something like this would make the content area ONLY on your portfolio page to reduce in size:

    .post-51 #content {
        float: left;
        margin: 0 20px 0 0;
        width: 700px;
    }

    Where “.post-51” is the CLASS of your portfolio page.

    Thread Starter dmbox

    (@dmbox)

    Thank you Josh….peace.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Sidebar Top Alignment’ is closed to new replies.