• Let me see how to put this correctly..

    I have a site http://shippingandfreightresource.com on self-hosted WP using Fresh and Clean Theme by WPExplorer..

    Currently the “footer” is nested INSIDE a “main” div.. I want this footer OUTSIDE the main div.. But i cannot seem to find the closing tag of the main div..

    Below is the current html structure and the required structure.. I know that if I interchange positions 4 & 5 i will get the desired effect, but for the life of me, i cannot find where the closing div for the main is..

    Current structure

    <html>
    <body>

    1. <div id=”main”>
    2. <div id=”content” role=”main”> … </content>
    3. <div id=”sidebar” > … </div><!– #sidebar .widget-area –>
    4. <footer id=”colophon” role=”contentinfo”> … </footer><!– #colophon –>
    5. </div><!– #main –>

    </body>
    </html>

    Required structure

    <html>
    <body>

    1. <div id=”main”>
    2. <div id=”content” role=”main”> … </content>
    3. <div id=”sidebar” > … </div><!– #sidebar .widget-area –>
    4. </div><!– #main –>
    5. <footer id=”colophon” role=”contentinfo”> … </footer><!– #colophon –>

    </body>
    </html>

    I have looked in header.php (the opening div for main is here), content.php, index.php, and all the php files that are there, but i cannot see where this closing div is, but when i view the source code for the site, i can see it..

    Appreciate any help from anyone.. Thanks..

    Regards
    Hariesh Manaadiar

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Issue with footer nested inside main box’ is closed to new replies.