The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. slambert
    Posted 11 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:

    The php page code can be seen here:

    The CSS can be seen here:

    I am using the WPAutoP plugin:

    And everything I try from here isn't working for me for some reason:

    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
    Posted 11 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:

    relevant CSS:

    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
    Posted 11 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