• 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: https://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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Start by using a valid DOCTYPE. From your pages:

    <!DOCTYPE html PUBLIC ?-//W3C//DTD XHTML 1.0 Strict//EN"
    ?https://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" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    Thread Starter Connor Crosby

    (@ccmovies)

    That didn’t do anything. Thanks anyways.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sidebar and Footer inside Content Area!’ is closed to new replies.