WordPress.org

Ready to get started?Download WordPress

Forums

Image only post bug (6 posts)

  1. www.onlinecasinoselite.com
    Member
    Posted 8 years ago #

    I have a blog where I sometimes write whatever and sometimes I just post an image. The problem is, most themes that I use have this little problem where th image displaces the posts title above and below the post with the image.

    http://www.sdx.xperthost.com/uploader/files/1/postbug.GIF
    http://sdx.xperthost.com/blog/index.php?paged=2

    I want the post below to look like and other text post. I tried putting a clearer but it didn't work.

  2. dremation
    Member
    Posted 8 years ago #

    Try adding a <br> tag at the end of your post.

  3. www.onlinecasinoselite.com
    Member
    Posted 8 years ago #

    Tried that. Has no effect. I tried the suggested the div. clearer.

    div.clearer {
    clear: left;
    line-height: 0;
    height: 0;
    }

    And I inserted the code in the main index template but still no effect.

    <div class="entrybody">
    <?php the_content('Read the rest of this entry »'); ?>
    <div id="clearer"></div>
    </div>

  4. moshu
    Member
    Posted 8 years ago #

    div.clearer

    that's not really an id - it's a class!
    In the stylesheet it's enough to have
    .clearer {...

    but in the template you should have
    <div class="clearer"></div>

  5. dremation
    Member
    Posted 8 years ago #

    Blah, moshu beat me to it. :-)

  6. www.onlinecasinoselite.com
    Member
    Posted 8 years ago #

    Ah. I wasn't paying attention. Thanks. Someone note that in the other topic for future reference.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.