• Resolved mismatchedpear

    (@mismatchedpear)


    First, this is the ideal layout:
    https://northtenth.com

    I have not had a problem with it until a Category was created with MULTIPLE posts. Then things get crazy:

    https://northtenth.com/category/starting-out/

    See how the Sidebar is way on the bottom? See how the older post wraps itself around the newer post?

    Is this a prime example of poor div order? Please tell me. I have been messing with Archive.php for two hours now trying to see what my problem is.

    And this being my first large production website, any other errors/invalids you spot on your journey would help too.

    Thanks so much!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Good way to deal with <div> problems is to use the code validator at W3C: [Invalid]Markup Validation of northtenth.com category starting-out – W3C Markup Validator. Scroll down in the validation report to see line numbers and source code for your missing tags, then you can find where they are in theme files.

    Thread Starter mismatchedpear

    (@mismatchedpear)

    I did what the Validater suggested. I did not realize how many redundant </div>s I had. They all came from me trying to re-arrange my div order to fix the problem.

    However, it did not seem to correct my problem. The site still appears cluster-bombed.

    I will continue on my end to research.

    Carefully compare the source code in index.php to categoty.php, or one of the theme files that displays correctly to the theme file that doesn’t display correctly.

    Your sidebar is enclosing the navigation, and both are up in the middle of the posts. Post the code to wordpress.pastebin.ca and post a link to it here so we can see the code.

    Thread Starter mismatchedpear

    (@mismatchedpear)

    Oh my goodness, what a tricky solution.

    Turned out the div order was the least of my problems.
    The plugin “WP Super Cache” was causing my blog not to update when hitting refresh — therefore when I uploaded a new file I was not able to see the changes.

    I was unaware of this. I kept making changes, frustrated that nothing was changing. It only took one easy edit after I disabled Supercache to fix.

    As they say in war;
    Know your surroundings!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘It hit the fan! … div order woes.’ is closed to new replies.