WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to wrap text around image? (8 posts)

  1. Spikey Boy
    Member
    Posted 3 years ago #

    Hi just started using WordPress for a new website. I'm having problems getting text to wrap around an image even though when I insert the image into the text and it gives me the options for None, Left, Center, Right when I preview, it places it above the text (although it displays in the edit window in the right place).

    I've used a blog theme but managed to make it work as a web page so this may be the problem?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    Unless you provide a link to a page demonstrating the problem, no one will be able to offer much in the way of specific help.

  3. Spikey Boy
    Member
    Posted 3 years ago #

  4. Spikey Boy
    Member
    Posted 3 years ago #

  5. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    Try adding:

    .aligncenter {
    	display: block;
    	margin-left: auto;
    	margin-right: auto;
    }
    .alignleft {
    	float: left;
    }
    .alignright {
    	float: right;
    }
    img.alignleft {
    	margin-right:10px;
    	margin-bottom:10px;
    }
    img.alignright {
    	margin-leftt:10px;
    	margin-bottom:10px;
    }

    to the bottom of style.css.

  6. Spikey Boy
    Member
    Posted 3 years ago #

    Thank you I'll try that.

  7. Spikey Boy
    Member
    Posted 3 years ago #

    Sorry another question, how do once I've added that in how do I

    "You need to make this file writable before you can save your changes. See the Codex for more information." ?

    forgive me I'm a complete newbie with basic knowledge ;o).

  8. Spikey Boy
    Member
    Posted 3 years ago #

    Ah ha, sorted, got the permissions and it works beautifully. Many thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags