Wordpress - Insert code (clear both) between every 2nd post?

Discussion in 'Coding Help' started by figment, Mar 17, 2009.

  1. figment

    figment New Member

    Hi Guys,
    I am working on this site: Beautiful Email Newsletters
    There is a problem with some posts dropping down causing gaps on the page.
    To stop this i am thinking i should insert a DIV with a clear: both; style between every second post. Is this possible and how?
     
  2. louie

    louie New Member

    You can sort this out by playing with the image height and width.
    Also find the loop and start counting using "row=0; than row++".
    When you get to "2" reset counter to 0 and add the clear:both div.
     

Share This Page