WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to left align (and wrap around text) more than one image? (4 posts)

  1. ketshi
    Member
    Posted 5 years ago #

    I just got started with this whole wordpress thingy and I already have tons of questions.

    Here's the first that I can't really figure out myself.

    I'm having trouble in left-aligning more than just one image.
    Here's what I mean. It currently appears like this:
    http://www.test.ketshi.com/?p=9#more-9

    And I want it to be like this:
    http://img440.imageshack.us/img440/6305/afbeelding9.jpg

    The first image is now a Custom Field.

  2. ketshi
    Member
    Posted 5 years ago #

    Oh and the second image is the beginning of the 'Read more' part. Please, help me out!

  3. stvwlf
    Member
    Posted 5 years ago #

    Hi

    WordPress has wrapped your second image in a <p> tag. The simplest way to resolve it is to apply a clear:left; to the p that wraps the 2nd image

    To do it the right way, add this to your CSS file
    .clearleft {clear: left; }

    Then go to the HTML tab in the WP editor and change the P before the second image to this <p class="clearleft">

    You will want to add some top margin or padding also because it will be up against the bottom of the image above it
    <p class="clearleft" style="margin-top: 10px;">

  4. ketshi
    Member
    Posted 5 years ago #

    Thank you very much! Such a simple solution. You will see more questions of me soon...

Topic Closed

This topic has been closed to new replies.

About this Topic