• While I was trying to debug something else that was not related to the theme, someone pointed out that running an HTML validator on the pages on my site (https://cookcountytrauma.org/) was showing an error due to a missing closing div tag on <div id=”page”>

    And that appears to be the case. If I view source on pages from the Charitas-Lite theme and search for <div> and the </div>, there’s always one more <div> than </div>. This is true even for the theme demo on the WPLook site.

    You won’t see that on my site, because I edited the footer.php file in my child theme.

    </div> <!– added because closing div for #page was missing–>
    <!– /#page –>
    <?php wp_footer(); ?>
    </body>

    • This topic was modified 3 years, 10 months ago by aezzell2020.
  • The topic ‘Missing closing div for #page in footer.php’ is closed to new replies.