Support » Fixing WordPress » Text not wrapping around image

  • I’ve gone through the FAQs and did everything it suggested to do to get my text to wrap properly around an image. But it still only wraps around the first paragraph. Any suggestions on how to fix this?

    Apologies if this is already a thread but I couldn’t find one that provided additional help …

Viewing 2 replies - 1 through 2 (of 2 total)
  • Its hard to know without your posting the URL. However, many times adding these next 3 lines to your theme’s styles.css file will resolve that issue.

    .aligncenter { display:block; margin-left:auto; margin-right:auto; }
    .alignleft { display:block; margin-right:auto; }
    .alignright { display:block; margin-left:auto; }

    Assuming your site is, I think the problem is the </p> after then sentece “Thats where bloggers come in”. It’s ok to have the </p> tag here but there is no opening <p> tag at the beggining of this paragraph. Instead, this paragraph is inside the image’s <p> tag.

    So, you should have:

    <p><img src="yourimage.jpg" style="float:right;"></p><p>Paragraph 1</p><p>Paragraph 2</p><p>Paragraph 3</p>

    where you currently have:

    <p><img src="yourimage.jpg" style="float:right;">Paragraph 1</p><p>Paragraph 2</p><p>Paragraph 3</p>

    Hope that helps.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Text not wrapping around image’ is closed to new replies.