Support » Fixing WordPress » Wrapping text around images

  • Juuth

    (@juuth)


    Dear people,

    Using the Graphene theme, I’m having trouble wrapping text with several paragraphs around my images. Here’s an example:

    http://www.kinderkracht.org/wordpress

    After searching the forum, i inserted the following code to the end of style.css:

    [CSS moderated as per the Forum Rules. Please just post a link to your site.]

    Unfortunately, it didn’t work so i guess i need one of you to have a look at it…

    I did start a new paragraph after the image, but even when i place the img code in the middle of a paragraph, the next paragraph will always start under the image.

    POSSIBLE WORKAROUND IF NOT ABLE TO RESOLVE: Not starting a new parapgraph but instead inserting whitespace code <br />  twice did help, but i believe there should be a more elegant way…?

    Thanks a lot!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try moving the image OUTSIDE the paragraph. I went to your site and tried it using Firebug. The image floated properly (in Firefox).

    Thread Starter Juuth

    (@juuth)

    Thanks rjmastey!

    I found the solution here: in the CSS it said:

    .entry-content p {
    	overflow: hidden;
    }

    Removing this made all p(aragraphs) wrap nicely and nothing’s messed up as far as i can see so i’m happy :).

    No need for code – all you need to do to wrap the text around an image in Graphene is click in the top left corner of the image to Edit. This will take you to a separate screen to edit the image. You will see a choice of alignment boxes – the default is none, hence why text won’t wrap. Select whichever alignment you want and ‘hey presto’ text wraps. Simples!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Wrapping text around images’ is closed to new replies.