WordPress.org

Forums

Sidebar and Footer inside Content Area! (4 posts)

  1. Connor Crosby
    Member
    Posted 5 years ago #

    Hello, I am attempting to make my first wordpress theme! However, for some reason, my sidebar and footer are appearing in the content area. I have an index.php file, sidebar.php, footer.php, and header.php. It worked fine when I had everything in 1 html file, but once I brought it over into wordpress, it showed up funny. Here is my website for testing the theme: http://tutorialnation.net. I is showing up fine except for that in Safari, Chrome, Opera, and FireFox. It may look worse in Internet Explorer, I have not fixed it yet for that.

    Thanks so much for any help!

    Connor

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    Start by using a valid DOCTYPE. From your pages:

    <!DOCTYPE html PUBLIC �-//W3C//DTD XHTML 1.0 Strict//EN"
    �http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    which suggest that you've used invalid curly opening quies.

    Try:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

  3. Connor Crosby
    Member
    Posted 5 years ago #

    That didn't do anything. Thanks anyways.

  4. esmi
    Forum Moderator
    Posted 5 years ago #

    It allowed the site to be validated. You have some mis-nested tags. There's also a serious error in your stylesheet.

Topic Closed

This topic has been closed to new replies.

About this Topic