WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Image Wrap: class="alignleft" error (4 posts)

  1. slylake
    Member
    Posted 5 years ago #

    Hi all,

    I'm using a variation of the Corporate theme by Ori Pearl.

    I have a static page set as the front page of my site and have an image embedded in the page, using wp's class="alignleft" - which does float the image to the left-hand side. However, only the first paragraph of text lines up as it should.. the next paragraph starts AFTER the end of the image.

    attempt at an example:

    blah blah blah blah blah blah blah image_here
    blah blah blah blah blah blah blah image_here
    blah blah blah blah blah blah blah image_here
    blah blah blah blah blah blah blah image_here
                                                          image_here
                                                          image_here
                                                          image_here
                                                          image_here

    blah blah blah blah blah blah blah blah blah blah
    blah blah blah blah blah blah blah blah blah blah
    blah blah blah blah blah blah blah blah blah blah
    blah blah blah blah blah blah blah blah blah blah

    -------

    Not sure if this is due to the site's CSS?

  2. curtismchale
    Member
    Posted 5 years ago #

    provide a link to the site so people can see the code and hopefully help you.

  3. Saurus
    Member
    Posted 5 years ago #

    align left and float left are not the same thing at all. Suggest you do a little web search on what each is capable of.

  4. slylake
    Member
    Posted 5 years ago #

    Thanks Curtis. Currently experiencing the same issue with WP's class alignright

    .alignright {
       float: right;
       margin: 0 0 10px 10px;
    }

    Example site: http://www.aussiemategardensheds.com.au/press/

    Saurus - quite handy with my coding. Suggest you look at CSS for wp's class alignleft as per my original post before inserting foot in mouth, where the class alignleft, essentially is the same as a float (with some margins). Original post clearly state's "wp's class alignleft".

    .alignleft {
       float: left;
       margin: 0 10px 10px 0;
    }

    You probably didn't mean to sound so curt and short. But it came off very high-horse, mate. I'm here for support, not for being told to go search the web. I'm here because I already searched the web and got nothing.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags