Support » Themes and Templates » Sidebar Won't Align After Pagination

  • Hi All. 🙂

    I’m having an issue that I can best explain with a couple of examples:

    (1) Here’s my home page: Home. Everything lines up correctly.

    (2) Here’s Page 2 of my home page (after pagination): Page 2.

    I can’t, for the life of me, figure out why the sidebar is aligning within that ‘news’ DIV.

    Any help would be greatly appreciated. Thanks! 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • if you take a look with firebug your sidebar div is inside your news div, probably a missed closing div. If you label all of your closing divs with <!–#div name–> you should be able to track it down.



    Forum Moderator

    this code seems to be extra in ‘page 2’

    <div id="news">
    <div style="width: 650px; margin-top: 10px;">

    must could have escaped the conditional area for the slideshow on the front page.

    if you have trouble locating the problem, you could paste the full code of the frontpage template into a and post the link to it here.

    Thanks for the replies, I appreciate it. I went ahead with alchymth’s suggestion and pasted my home.php code here.

    I went through and closed my DIV tags, but it actually complicated the problem and forced the sidebar down the page. Clearly, there’s something bigger I’m missing.

    I appreciate everyone’s help!

    Did you account for closing the following?

      if(  get_query_var('paged') >= 2){
    echo "<div id='news'>";
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sidebar Won't Align After Pagination’ is closed to new replies.