WordPress.org

Ready to get started?Download WordPress

Forums

How to lock the sidebar? (4 posts)

  1. kooi2000
    Member
    Posted 6 years ago #

    Hi there,
    I'm trying to modify a great WP theme, but cannot seem to get the sidebar "sticky"! What I mean is:

    I have this webpage: http://www.eeuwigweekend.nl/2008/03/12/test-low-david-bowies-magnus-opus/
    and I want the sidebar to be on the right top. Next to the text. As you can see the sidebar is now all the way down, which is because it doesn't fit anymore. But I still want it back!
    How do I do that? I've tried everything in the CSS. Help is very appreciated.

  2. blueshift9
    Member
    Posted 6 years ago #

    The main div is too wide so it's pushing the sidebar over too far.

    If you use Firefox, download the Web Developer extension and find out what the name of the div is; it should be your main content div.

  3. kooi2000
    Member
    Posted 6 years ago #

    That's it! Thanks a lot, blueshift9.
    Problem now is that it's okay in Firefox, but still a sidebar at the bottom of the page in f**** IE6. Sigh.

  4. blueshift9
    Member
    Posted 6 years ago #

    Don't you love it? lol. Just keep messing around a bit, you'll nail it.
    I don't use IE6 but i'm sure there is a way to peek into the CSS for it.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags