WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Second oldest post is tucking under sidebar (8 posts)

  1. my honest answer
    Member
    Posted 3 years ago #

    Hi everyone,

    I'm new to this, so thanks so much for taking the time to read my question.

    I use 'Under the Influence' theme. I have moved the sidebar to the left, by changing my style sheet. I have made a few alterations to the stylesheet, but I am still learning, and don't know much!

    On my homepage http://www.myhonestanswer.com you can see the latest post. The next oldest post is not coming straight after it anymore (as it did when the sidebar was on the right), it is now tucking under the sidebar on the left, after blank space from the end of the newest post until the bottom of my sidebar. So readers have to scroll down a long way to even realise there is another post on the page.

    Is there anyway to fix this? I have googled about trying to extend the sidebar to the bottom of the page. People keep suggesting faux columns, but I didn't really understand whether this would fix my problem.

    Thanks for any advice you can offer.

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    You seem to have an unwanted closing </div> tag at the end of each(?) post.
    Validation results

  3. my honest answer
    Member
    Posted 3 years ago #

    Thanks so much for answering! Sorry to be a pain, but where would I find that to delete it? I have searched the stylesheet and there is no div tag in there as far as I can see. Thanks again.

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    It's in your page markup - not its CSS. Try looking in the theme's index.php template file.

  5. my honest answer
    Member
    Posted 3 years ago #

    Thank you.
    Index php has a lot of divs in it

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Should it be the last one before content_container that I need to get rid of?

    Thanks again for your help.

  6. my honest answer
    Member
    Posted 3 years ago #

    Esmi I worked it out! Thanks so much for your help. (I didn't realise that the site you posted listed the faults, but I found the div you were referring to in there, deleted it, and everything is just how I wanted).

    Thanks again for taking the time to help me, it is much appreciated.

  7. my honest answer
    Member
    Posted 3 years ago #

    I spoke too soon.

    I reran the check, after everything was working fine. It told me I didn't close a div, so I tried to add a '/'

    That was all I added, and the whole site dissapeared! I told you I'm new to this! I deleted it again, but the site is still down.

    Any ideas? Is there anyway I can restore the default code?

    Thanks again, and sorry I stuffed it up.

  8. my honest answer
    Member
    Posted 3 years ago #

    I deleted and reinstalled the theme, it's sorted. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic