• Resolved ThorHammer

    (@thorhammer)


    I would like the text to flow round my images. Images spanning x lines with all text breaked under is just sickening.
    How do I fix this? Suggestions?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Give the images a floating style.

    Post a link to your site so that we can tell you what to change.

    Thread Starter ThorHammer

    (@thorhammer)

    I am just testing and building this locally on a xampp installation, trying to fine tune and make it look nice before I install it on a server.
    I am using the excellent theme “Linoluna” to make a Magazine-like WordPress. Do I have to manually add a span or div in the code of each post in order to let the text flow? And could you please give me just some example CSS to add to the stylesheet?

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    The general idea is that you want to apply float to the images. Lets say you have this:

    <img src='someimage' />
    Some text that will wrap around the image

    You can make that work by adding the float:left or float:right style to the image. No need for a div or anything, just apply the style to the image. Ideally, you’d apply some kind of style like that site wide, to all the imgs in your posts, using your stylesheet.

    But specifically how to do that I can’t tell you without looking at the actual site. Might be something like this:
    .post img { float:right; }

    Or something like this:
    .content img { float:right; }

    I can’t say without looking and seeing how your site is laid out.

    Thread Starter ThorHammer

    (@thorhammer)

    Thank you, I think I get your point! I’ll try it. Have a nice evening!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘More elegant text/image control’ is closed to new replies.