WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Can't Float an Excerpt Image (3 posts)

  1. slambert
    Member
    Posted 8 years ago #

    The solutions in the codex are doing nothing for me on this, so if anyone can help me, I'd appreciate it.

    My excerpt is an image. I'd like to have the page look like this

    Image/Excerpt Post-Title

    Image/Excerpt Post-Title

    Image/Excerpt Post-Title

    So the image will be on the left and the corresponding title will sit inline to the right of it near the vertical middle line of the image.

    Right now the Post Title appears below the image, no matter what I do. Frustrating!

    The page I am working on is here:
    http://budgetgallery.org/sf/category/artists/ex02/wild-posting/

    The php page code can be seen here:
    http://pastebin.com/350677

    The CSS can be seen here:
    http://pastebin.com/350685

    I am using the WPAutoP plugin:
    http://dev.wp-plugins.org/browser/disable-wpautop/

    And everything I try from here isn't working for me for some reason:
    http://codex.wordpress.org/Wrapping_Text_Around_Images

    Last, I remember working on something similar to this a few weeks ago and the image within the float was weird in Firefox. So whatever solution we all come up with, test in Firefox.

    Thanks in advance.

  2. slambert
    Member
    Posted 8 years ago #

    I noticed the code on pastebin.com expired, so here it is again. Still struggling with this. Any help would be appreciated.

    relevant PHP:
    http://paste.uni.cc/7680

    relevant CSS:
    http://paste.uni.cc/7681

    If this isn't enough info, just ask and I can post all the CSS and all the code from the page. Again, thanks in advance for anyone who can give me a lead on solving this problem.

  3. Joshua Sigar
    Member
    Posted 8 years ago #

    First thing, change the following

    <div id="floatleft">

    to the following

    <div class="floatleft">

Topic Closed

This topic has been closed to new replies.

About this Topic