Forums

Footer Goes Wacky When I add HTML to Sidebar through Widget (8 posts)

  1. oneandsix
    Member
    Posted 2 years ago #

    Check out the blog at http://glenwildblog.com

    When I add ANY custom HTML (the weather) via the Text widget - the bottom footer image is no longer aligned. Any help would be appreciated. Thanks.

  2. justbishop
    Member
    Posted 2 years ago #

    I've found that this is usually an issue of a missing </div> or </table> (I make this mistake all the time).

    I would go through that AccuWeather code line by line to make sure it's closing everything it opens, as well as your sidebar.php file.

  3. oneandsix
    Member
    Posted 2 years ago #

    Thanks justbishop,

    I ran the HTML Validation tool here http://validator.w3.org/check?uri=http://glenwildblog.com/&charset=(detect+automatically)&doctype=Inline&group=0

    and I don't know which error to fix. Any chance someone could glance through with a little more experience and let me know?

  4. jrav001
    Member
    Posted 2 years ago #

    I think your footer needs to be moved insude the #container div.

  5. oneandsix
    Member
    Posted 2 years ago #

    How would I go about doing this?

  6. jrav001
    Member
    Posted 2 years ago #

    Hard to say for sure, but if your code looks something like this:

    </div>
    <div id="footer">

    change it to this:

    <div id="footer">
    </div>
  7. oneandsix
    Member
    Posted 2 years ago #

    Thanks I got it fixed. There was an extra </div> in footer.php

  8. justbishop
    Member
    Posted 2 years ago #

    Glad you got it fixed :)

Topic Closed

This topic has been closed to new replies.

About this Topic