I have used images extensively on a number of different wordpress sites, and by default the text wraps around any images I include, which is what I want.
Suddenly, on a site where I have included images in this manner, the new images I am adding are not allowing the text to wrap.
The site is http://www.townofnelson.com
An example of text properly wrapped around an image is at:
http://www.townofnelson.com/library
and an example of it not working is at:
http://www.townofnelson.com/town-offices
A possible clue: this problem occurred after I had upgraded to 2.6.2.
I went back to 2.6.1, but the problem still exists.
Thanks for any advice on this.
robsaxe
Member
Posted 3 years ago #
I noticed that you've gotten the text to wrap. What did you change?
Thanks
Rob
robsaxe,
Why don't you read the replies to your own topic?
http://wordpress.org/support/topic/204814?replies=2
I apologize for not replying sooner - I had been diverted,and also had found some solutions that seemed to work in some situations. The response from Jeremy looks good - I had gotten some similar advice from another WP developer, but the code was a little different. Hopefully this will resolve the issue.
Thanks very much everyone.
flotsam2000
Member
Posted 2 years ago #
Hi Jeremy (or whoever is reading this),
I added this from http://codex.wordpress.org/Wrapping_Text_Around_Images to my style.CSS file, but I STILL cannot get text to wrap around my images.
img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a img.alignright {float:right; margin:0 0 1em 1em}
a img.alignleft {float:left; margin:0 1em 1em 0}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}
This is the page that I am having trouble with: http://marianodeorbegoso.us/?page_id=2
Any ideas?
Thanks,
Josh