Forums

[resolved] How do I fit text around an image (11 posts)

  1. leggy
    Member
    Posted 3 years ago #

    Hi,

    I am really struggling with the formatting of my page.

    How do I format the text so I can write around an Image like in the article in
    this link

    at the moment I can only write above or below the image.

    Regards,

    Leggy

  2. cipote
    Member
    Posted 3 years ago #

    Hola leggy,
    This is possible with the built in image options that WordPress has.
    When you insert an image, insert the thumbnail and align it to the right or left. Unless you are using a theme that has not been updated to take advantage of this, you should see the results you want.

  3. leggy
    Member
    Posted 3 years ago #

    thanks very much

  4. leggy
    Member
    Posted 3 years ago #

    Hi,

    I'm still having some problems with this when I align the image to the left is looks perfect in the visual editor, but when I view the page on the site the image it displayed above the text paragraph that was wrapped around it on the visual editor.

    Any Ideas
    Cheers

  5. kmessinger
    Member
    Posted 3 years ago #

    URL?

  6. leggy
    Member
    Posted 3 years ago #

  7. kmessinger
    Member
    Posted 3 years ago #

    I didn't find any alignment for an image in your css. You should have something like this,

    img.alignright {
    	float:right;
    	padding: 4px;
    	margin: 0px 10px 10px 10px;
    	display: inline;
    	}
    
    img.alignleft {
    	float:left;
    	padding: 4px;
    	margin: 10px 10px 10px 0px;
    	display: inline;
    	}

    The float part is important so your text will wrap.

  8. t31os
    Member
    Posted 3 years ago #

    #page p img.alignleft {float:left;margin-right:8px}

    That should give you the result you want...

  9. leggy
    Member
    Posted 3 years ago #

    Thanks,

    Where exactly should I add this code?

  10. t31os
    Member
    Posted 3 years ago #

    style.css

    All the above are CSS examples...

  11. leggy
    Member
    Posted 3 years ago #

    Thanks very much guys.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.