Support » Fixing WordPress » Parent/Child/Grandchild Page HTML displaying incorrectly

  • Resolved sunkast

    (@sunkast)


    I am having an issue with parent and child pages not adding the page HTML in the correct div. I have multiple parent/child levels. Here is an example

    Packages
    – Clowns
    — Clowns In Long Island

    For the moment, I am simply using the same HTML for both Clowns and Clowns in Long Island. But when I make Clowns in Long Island a parent of Clowns, using the same template and HTML, the HTML is outside of the correct div.

    IE for Clowns, a parent of Packages, using the Package template it’s:

    <div id=”contents”>
    —<div id=”contents-backpage”>
    ——<div id=”breadcrumbs”>
    ——<div id=”sidebar”>
    ——<div id=”main-content-packages”>
    ——<div class=”addon”>
    —</div>
    </div>

    But for Clowns In Long Island, a child of Clowns, which is a child of Packages, using the same Packages template it becomes:

    <div id=”contents”>
    —<div id=”contents-backpage”>
    ——<div id=”breadcrumbs”>
    ——<div id=”sidebar”>
    —</div>
    —<div id=”main-content-packages”>
    —<div class=”addon”>
    —</div>
    </div>

    The main-content-packages div and addon div are outside of contents-backpage rather than inside it like the first child.

    Does anyone know why a child of a child page does this?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Parent/Child/Grandchild Page HTML displaying incorrectly’ is closed to new replies.