Forums

Pics in posts and text wrapping (4 posts)

  1. conradsmith
    Member
    Posted 3 years ago #

    Hi all,

    I am a wordpress newbie and am trying to figure out how to include a pic in a post and have the test wrap around it rather than above or below it. How can I do this?

  2. moshu
    Member
    Posted 3 years ago #

    For uploading an image - just look around in your writing area. Once uploaded clcik on the image and see the menu on its "back" > send to the editor.

    As for the wrapping: there is always an answer in the online manual of Wp, the Codex.
    See: Using_Images - some parts might be outdated; the upload mechanism has been changed in WP 2.x;
    Wrapping_Text_Around_Images.

  3. Viper007Bond
    Member
    Posted 3 years ago #

    Yep, just float the image.

    I personally created two classes in my theme's stylesheet:

    .floatleft {
    float: left;
    margin-right: 10px;
    margin-bottom: 7px;
    }
    .floatright {
    float: right;
    margin-left: 10px;
    margin-bottom: 7px;
    }

    Then I just give images one of those two classes. Like this for example:

    <img src="http://wordpress.org/style/header-logo.png" alt="WordPress" class="floatleft" />

  4. conradsmith
    Member
    Posted 3 years ago #

    Thanks Viper, I'll give that a try. One thing though does it matter where in the stylesheet you place this first portion of code?

Topic Closed

This topic has been closed to new replies.

About this Topic