WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Jeff F.
    Member
    Posted 9 months 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?

    http://dev.reimagineamerica.org/contact/

    http://dev.reimagineamerica.org/category/joyces-rants/

    thanks

  2. Pioneer Valley Web Design
    Member
    Posted 9 months 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.
    Member
    Posted 9 months 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.
    Member
    Posted 9 months ago #

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

  5. Jeff F.
    Member
    Posted 9 months ago #

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

Reply

You must log in to post.

About this Topic