Feeds

Text wrapping around images

PerformancingAds
Submitted by David Tsvirinko on June 22, 2007 - 6:48pm in

I am trying to get the text to not wrap around images in posts. When the posts were written I started the text on a separate paragraph from the image. In other themes this keeps the text from wrapping around the image, but not in the ModernPaper Theme. What can be influencing the wrapping of text around the image. The images are justified to the left and text wraps to the right of the image.

My knowledge of CSS is somewhat limited. It would be nice if someone could point me to the section of code that may be affecting text wrapping.

Thank you in advance.


suggestion

David: I recommend you post this question in the comments section over at Performancing's WordPress Themes section. Brian will answer your question there, since it seems to be a theme-related issue.

Thank you

Raj, thank you for the suggestion. I've done as you recommended. However, I thought that this was the forum for theme support. Is that not the case?

i'm wrong

David, I believe you're right. I didn't realize it had been moved here. My apologies. Did the hack work?

no response yet

I haven't had anyone respond to my question yet. And I haven't been able to figure anything out on my own either. Brian hasn't reponded to me yet. I hope he'll see my comment on the blog.

ooops

Sorry. I'm not sure what I'm thinking. Brian? Are you able to answer David?

great

Glad to hear that you worked it out, David. Thanks for sharing the solution.

I got it

Okay, guys. I figured it out. I changed the float attribute in #content p img from "left" to "none" and the text does not wrap around the image on the right side.

Update: The above solution works only part way. It is better to just remove the whole float attribute. The float attribute looks something like "float: left", just delete the whole line. Works great.

This worked great for me

This worked great for me too, thanks!

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <h2> <h3> <h4> <img> <div> <a> <em> <strong> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <span> <table> <td> <tr> <caption> <th> <hr> <pre> <br> <p> <object> <param> <embed> <strike>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
2 + 0 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.