Text won t wrap wordpress hosting

Posted by Bhagwad Park on May 20, 2014 | 4 Comments

A good WordPress post is a lot more than a wall of text. It contains context, images, blockquotes, pullquotes, and a host of other visual media to split up the content into easily digestible chunks, making it easier to read and less intimidating. It’s important to position these objects properly though and to ensure that they fit in seamlessly with the rest of the post. The idea is to have them supplement the article, not draw the reader’s attention to its placement. It should feel natural as if it just “belongs”. To this end, we need to know how to properly wrap text around an object whether it’s an image, or an iFrame. WordPress provides an easy method to place images accurately but we’ll need to do a bit of coding to get the proper look and feel for other objects.

Text won t wrap wordpress hosting an image

Aligning Images

Since images and pictures are the most common form of objects in a post, to wrap text around an image in WordPress is absurdly easy. Make sure that you’re running the most recent version of WordPress, and in the visual editor above the WYSIWYG icons you’ll find an “Add Media” button as shown below.

Clicking this will allow you to upload a new image or choose one from the existing library. After you’ve selected it, the picture details will appear on the right hand side. Scroll down and you can see a section called “Attachment Display Settings” as shown below.

Merely select whether you want the image to appear on the left, the right, or the center. If you don’t choose anything, the image will be placed into the HTML without any alignment. It’s easy!

Aligning Other Objects

While wrapping text around images is easy enough, what if you have a custom element like an iFrame? Several little tools and widgets give you a snippet of code to place into the HTML of your WordPress post and without proper alignment, it’ll look horrible. There are two things we need to take care of:

The Object Placement

Say you have an iFrame snippet within the