• Resolved kohlekocher

    (@kohlekocher)


    Hello,

    it looks like the code is slightly incorret for the tertiary div-element in Theme v.3.0.2

    Currently it looks like this:

    <div id="page" class="grid ">
     <header id="header" class="row" role="banner">
      <div id="main" class="row" style="width: 1200px;">
        <div id="secondary" class="c3" role="complementary">
        <div id="primary" class="c6" role="main">
      </div>
        <div id="tertiary" class="c3 end" role="complementary">
    </div>

    whichs displays the second sidebar incorrect, at the bottom of the page 🙁

    In order to correct it, I think it should look like this:

    <div id="page" class="grid ">
     <header id="header" class="row" role="banner">
      <div id="main" class="row" style="width: 1200px;">
        <div id="secondary" class="c3" role="complementary">
        <div id="primary" class="c6" role="main">
        <div id="tertiary" class="c3 end" role="complementary">
      </div>
    </div>

    But I don’t know where and how I could correct it…

    Thanks for any advice!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kohlekocher

    (@kohlekocher)

    I found the root cause for this issue, it is in index.php – Line 101

    Just change:

    </div><!-- #primary.c8 -->

    to

    <!-- </div> #primary.c8 -->

    This is the closing tag div-tag, that is not required and messes up the layout. Would be great if this fix could be incorporated into the next update of the theme.

    Best regards!

    Thread Starter kohlekocher

    (@kohlekocher)

    Ok – I just realized that this also strongly depends on the number of posts, maybe this is related to an issue reported earlier?

    http://ww.wp.xz.cn/support/topic/index-page-incorrect-div-tags

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘DIV for id=tertiary placed wrong in code?’ is closed to new replies.