WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Why Won't my Sidebar sit at the top? (6 posts)

  1. martcol
    Member
    Posted 2 years ago #

    Hello,

    Here's my site: martcol.co.uk/brightontherapyservice/news/

    I don't know how to make the sidebar get to the top of the page here although, it does behave itself on other pages.

    Thanks

    Martin

  2. kostas123
    Member
    Posted 2 years ago #

    Open your theme's CSS-file (wp-content/themes/karban/style.css) .
    Line 326 : remove float: left;

    div#sidebar {
    width: 230px;
    }

  3. martcol
    Member
    Posted 2 years ago #

    Thank you for looking at that and for the suggestion. I tried editing Tge CSS but it din't work for me. Having said that, I can only check in IE7 at the moment and will have to wait until I get home to have another go.

    I was pretty sure that it was to do with my template files.

    Thanks again

    Martin

  4. martcol
    Member
    Posted 2 years ago #

    No, kostas123, you're right and I'm an idiot. Tried it at home on FF and taking that float out sorted it. I'll scrutinize the code a bit more but thanks for taking the trouble to help me.

    Martin

  5. kostas123
    Member
    Posted 2 years ago #

    @Hotmale
    I have only basic kowledge of CSS . My solution is probably not the most efficient way of solving this kind of problems .
    CSS behaves totally different when dispaying content on different browsers . A more experienced volunteer could suggest a better (cross-browser ) solution .

  6. martcol
    Member
    Posted 2 years ago #

    fixed with clear right on .post.

    Thanks - answer came through the Sitepoint forum.
    Martin

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.