WordPress.org

Ready to get started?Download WordPress

Forums

Sidebar has gone crazy!! Help! (11 posts)

  1. donjz
    Member
    Posted 9 years ago #

    I moved my sidebar to the left and followed a previous support post to do the following:

    position: absolute;
    left: 2px;

    So, it worked. But when I started to resize my browser window, the sidebar was stuck right there on the left side and it wasn't moving with the entire thing.

    Help me please. I don't know what code to write to make it stick in place.

    The url is http://flipstah.com

    Thanks in advance!!!

  2. donjz
    Member
    Posted 9 years ago #

    OOOPs!! Okay, I think I made it stick. Is it okay to put

    "margin-top: -1990px; "?

  3. Mark (podz)
    Support Maven
    Posted 9 years ago #

    LOL - no :)

    Take that away while we look.

  4. donjz
    Member
    Posted 9 years ago #

    ok... :) sorry... hang on

  5. donjz
    Member
    Posted 9 years ago #

    okay, this is what happened when I took out the ridiculous margin.

    i enabled the position: absolute;
    and margin-top: -190px; (because I want the sidebar to go up the header)
    but when i resize the browser, it doesn't move with the rest

  6. donjz
    Member
    Posted 9 years ago #

    did you guys find what went wrong?

  7. Mark (podz)
    Support Maven
    Posted 9 years ago #

    I'm closer :)

    You have a lot of repetition and wierd goings on in the css, so I've chopped a lot out to start with.
    First - make a copy of your current css. Keep that safe just in case what I give you sends things even worse.
    Then get the css from here: http://www.phpfi.com/70540
    and replace all your css with that.

    Then we'll see what needs fixing :)

  8. donjz
    Member
    Posted 9 years ago #

    okay, that worked. thanks.
    can i still insert the vertical graphic beside the sidebar?
    is it safe to overlap the sidebar with the header image?

  9. Mark (podz)
    Support Maven
    Posted 9 years ago #

    You need that image as the background - it was causing the sidebar to be very wide before which is why it dropped down.
    With everything working now, drop it in and see what happens ?

    And the header overlap should be okay

  10. donjz
    Member
    Posted 9 years ago #

    Thank you so much! It's finally working... although I had to use a negative top margin to bring the sidebar above the header image.... this time, it's not a whopping -1990px. :)

    THANKS!!! :)

    /me does the dance of joy!

  11. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Good stuff :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.