Word Wrap a Feature image in a post exerpt

Community Forums Forums Design Tips and Tricks Word Wrap a Feature image in a post exerpt

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  rfmeier 1 year, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #44105

    ncook
    Participant

    I am using the pretty theme. I have only the exerpt of my blog showing with a feature image… if the feature image is a small pic, how can I get the image word wrapped.  It would be the welcome to my blog post. I am very new to wordpress, my computer language skills are minimal at best and but I am a fast learner especially with pictures … Please help with your suggestions

    http://www.gofigurefitness.ca/blog
    #44148

    rfmeier
    Participant
    Post count: 603

    Hello,

    The feature image needs to have the .alignleft css class.  This will float the image left and let the text wrap around it.  Here is a preview;

    https://www.diigo.com/item/image/40chg/pq9o

    Also, I noticed the image displaying under the first post was stretching incorrectly.  By adding an height: auto rule to images, this should solve the problem globally.

    [css]
    img {
    height: auto;
    }[/css]

    Here is a preview;

    https://www.diigo.com/item/image/40chg/vqbd

    I hope this helps or points you in the right direction.


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.