Forums

Image-Wrap for the_content (3 posts)

  1. xephalon
    Member
    Posted 4 months ago #

    Hello all,
    I just migrated a Cutenews website to WordPress, and I'm having trouble getting the image-wrap to occure when I'm not in a WordPress theme. I've searched everywhere, but despite a few suggestions (like http://wpsnipp.com/index.php/functions-php/automatically-wrap-images-in-the_content-with-custom-html/), but it doesn't seem to work for me.

    See: http://www.xephalon.net/home.php (images does NOT wrap)
    See: http://www.xephalon.net/updates (images wrap)

    It seems if I just use <?php the_content(); ?> on my home.php page, the images do not wrap. Any ideas how I can get this to look like the WordPress theme page? I'd appreciate any help!

  2. YouON
    Member
    Posted 4 months ago #

    Specify in your style.css

    .alignleft { float:left; }

  3. xephalon
    Member
    Posted 4 months ago #

    it works! much appreciated.

Reply

You must log in to post.

About this Topic

Tags