• Hi there

    am putting a simple backgound behind each post summary and have success when i insert it as a div in loop.php such as:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    My problem is this… when i load the front page everything looks great, however, when i click a category or an archvie link on the sidebar, the sidebar moves far down the page and/or the blog post summarys get bunch up.

    Does anyone know why adding a div in this way affects the categories and archive pages?

    Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter rustypico

    (@rustypico)

    I should add that i have made twenty-ten into a child theme and have copied loop.php into my childtheme folder and made the above edit.

    is that the </div> you added?

    </div>  
    
    	<?php endif; ?>

    move it to after the <?php endif; ?>

    First things first: verify that your HTML markup is valid, and that you don’t have a stray DIV tag opening or closing where it shouldn’t be. It looks like you’re not closing div#post.

    Thread Starter rustypico

    (@rustypico)

    Ahhhhh so simple… it worked a treat!

    Muchos thanks Alchymyth!
    And thanks for the superfast reply!!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Background image in post summary issue (loop.php)’ is closed to new replies.