default settings not showing up the same for posts and pages (5 posts)

  1. Jeff F.
    Posted 2 years ago #

    OMG, if someone could help me it must be small that I'm missing. I'm running a child theme of twenty twelve and I'm getting different layouts for the primary and secondary divs on category pages and regular pages. Isn't it the same default template meaning the same index.php?

    I've examined it with Firefox and the divs are equal and same floats so why is it being pushed down on the pages?




  2. Pioneer Web Design
    Posted 2 years ago #

    This div:

    <div id="secondary" class="widget-area" role="complementary">.....</div>

    Should be above the closing div for <main>...that is the closing div just above <!---end main-->

    Are you using a custom page template?

  3. Jeff F.
    Posted 2 years ago #

    Thanks so much for looking at this Pioneer, I didn't know you have, I got no notice.

    I'm not using a custom page template so that's why it's so confusing. It's a child theme of twenty twelve so it uses that default. The pages that I have created are coming out wrong but the category ones are right, and I don't see how the index.php and the category.php are causing a difference. I'm still new, if I have some links that are in one format and some in another does that mess it up? This is my first site that isn't pages, strangely enough, and i"m working with blog posts.

    I have these two types:
    <a href="index.php?cat=5">
    <a href="http://dev.reimagineamerica.org">

    The closing div above the main one when I look at it with the Firefox bug.

    I have been over this code like crazy. It's just a simple child theme, but I am having to learn about creating links for category pages and feeling a little shaky. :)

  4. Jeff F.
    Posted 2 years ago #

    It's in my code somewhere because when I switch to twentytwelve it works.

  5. Jeff F.
    Posted 2 years ago #

    Fixed it, had a bad page.php file in there I missed. Thanks again for looking Pioneer.

Topic Closed

This topic has been closed to new replies.

About this Topic