Help - Sidebar moved/displayed at Bottom of Page (5 posts)

  1. Bmacnab
    Posted 3 years ago #

    Apologies in advance, as I know this question has been asked many times before, but I have read many of these and still cannot get to the bottom of this.

    I am very amature on this website stuff, and am using wordpress, on this occassion, as a static site, rather than a blog. Everything was fine until aI decided to begin making some changes to the home page ie. creating divs around certain text etc. to make things look better.

    As you will see, I was halfway through when I noticed the sidebar had moved. I have tried numerous tasks, but cannot find the solution for the sidebar to return as it was. This is only happening on the homepage.

    I would be really greatful if anyone could shed any light on this.
    Website: http://www.trucksforsaleuk.com/

    Thanks in advance

  2. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    This is commonly solved by removing an additional </div> element.
    It may help to solve these W3C errors as well http://validator.w3.org/check?uri=http%3A%2F%2Fwww.trucksforsaleuk.com%2F&charset=%28detect+automatically%29&doctype=Inline&group=0 .

  3. Bmacnab
    Posted 3 years ago #

    Great link, thanks. There seems to be quite a few errors, some for another day!!

    But the main problem (sidebar moved to bottom) seemed to have happened while I was editing the home page, therefore I am assuming the open divs shown in your link must be within this, but I cannot find them. Is there a way of telling where line 304 is within wordpress page editor?

  4. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    Copy the contents into software or online sources that provide line numbers, such as http://cssdesk.com/

  5. Bmacnab
    Posted 3 years ago #

    When I open up the page in ie and view source code (showing line numbers), the open divs seems to be in the page structure, rather than in the content of the page which I edited in wordpress?

    Therefore, I believe the problem has been caused by me somehow when editing this page in wordpress, as the sidear displays properly in other pages.

    [No bumping. If it's that urgent, consider hiring someone.]

Topic Closed

This topic has been closed to new replies.

About this Topic