Forums

Space between text and image (4 posts)

  1. Zoe44
    Member
    Posted 10 months ago #

    Hello,

    I'm hoping someone can help me with this!
    I want to have space between my images and the text, at the moment the text is really close to the image and it's hard to read. I have tried everything, I have followed the advice on http://codex.wordpress.org/Wrapping_Text_Around_Images and have put the code into my 'Editing Style.css' but it didn't work. I also tried in my posts, but no luck there either. I am using iLeather theme and my site is www.flexibleworkinglife.com
    Can any one tell me where I'm going wrong?
    Thank you!

  2. Zoe44
    Member
    Posted 10 months ago #

    Anyone?

  3. SusieN
    Member
    Posted 10 months ago #

    Here's the way I do it because I don't always want every image to be wrapped with text.

    CSS:

    .imageright {
    float: right;
    margin: 0 0 5px 5px;
    }

    HTML:

    <img class="imageright" src="path to image">

    You have to add the class="imageright" in the Code view after you've uploaded the image.

    There might be a simpler way of doing this, but this is how I like to do it since sometimes I want images to be on their own line.

  4. Zoe44
    Member
    Posted 10 months ago #

    Thanks for the reply, I'll give it a go!

Reply

You must log in to post.

About this Topic

Tags

No tags yet.