Forums

Titles starting in text area of post above (3 posts)

  1. Sculley
    Member
    Posted 11 months ago #

    Is there a way to make sure each post on the blog homepage starts below the post before it? What I mean.....I created a post with only one sentence of text so the post title below that post started in the text area of the one sentence post. If I incrasee the margin-bottom for the meta_bottom class, it works but makes the spacing between posts for the posts that have a lot of text too much. I've also played with margin above the h2 titles and margin below meta_bottom but doesn't seem fool proof. Does that make sense? Blog is here.

  2. stvwlf
    Member
    Posted 11 months ago #

    Hi

    Your problem is the thumbnails are setting a float that needs to be cleared before you go on to displaying the next post.

    In your homepage template, find the code that creates this line

    <div id="post-6" class="post">

    Now, towards the bottom of the loop, find the </div> that closes that opening div - make sure its the right one, the one that matches that one.

    Just before that closing div add this line
    <div style="clear: both;"></div>
    If you put it in the right place your spacing will suddenly behave.

  3. Sculley
    Member
    Posted 11 months ago #

    Of course! Thank you.....

Reply

You must log in to post.

About this Topic

Tags

No tags yet.