Forums

My sidebar is now on the bottom of the page whoops! (9 posts)

  1. breegeek
    Member
    Posted 2 years ago #

    Hi,

    Not sure what I did to my own theme, and am tearing my hair out! I wanted to put the sidebar aside the header, and accidentally put the darned thing on the floor of the page! I have spent hours trying to work out what I did, but can't and am losing my mind, so if you could help, that'd be awesome!

    the page is here: nerdcomics.com

    and the code pastebin is here: http://wordpress.pastebin.ca/1825974

    Cheers and thanks ahead of time!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    You could start by sorting out the validation errors in the page. Then move onto the CSS errors.

  3. breegeek
    Member
    Posted 2 years ago #

    I am a queen of validation errors... but it was "working" for a long time until I tried to get that sidebar to go to the top... any idea what went wrong there?

    I am pretty sure it's just a simple, stupid fix, and I'm going batty trying to reverse eng it...

  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    You could start by working out why you have two closing </div> with no corresponding opening <div>.

  5. breegeek
    Member
    Posted 2 years ago #

    hmmm ok! I think I got that. Any further clues?

    Also, I can't end with</body> or</html> anymore?

  6. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    </body> and </html> are still needed on every web page.

  7. breegeek
    Member
    Posted 2 years ago #

    Yeah, that's what I thought, but the validation page keeps barking at me.

    Are they included with the wp markup?

    I still can't figure out what happened to my sidebar.

  8. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    They should be part of your theme's footer.php file.

  9. breegeek
    Member
    Posted 2 years ago #

    Ok, they were, but validation seemed upset about them. But now I see that validation says "there is no attribute 'height'"... so I am a bit at a loss.

    Is there any reason that my sidebar is on the bottom of the page instead of where it was? I tried reconstructing it piece by piece, and I can't figure it out.

    I want it to float right and have my content (and, ultimately, my header) to go to the left. Am I missing something basic here?

    Thanks for your help, by the way!!

Topic Closed

This topic has been closed to new replies.

About this Topic