Ready to get started?Download WordPress


[resolved] Editor layout and formatting not reflected on web page (4 posts)

  1. philbonsai
    Posted 2 years ago #


    Hopefully someone can assist. I am creating a new website for a client and migrated their old WP blog (2.6) to the latest and greatest (3.2.1). The HTML between the two looks the same as well as what's displayed in the visual editor. The problem is that when looking at the posts on the front-end web page, none of the formatting or styling from the editor is rendering. For example, here is an image tag:
    <img class="alignnone size-full wp-image-2342" src="test.jpg" alt="" width="192" height="240" align="right">
    however the image isn't aligned to the right. Also, carriage returns start new lines, but additional line breaks don't appear.

    Anybody know what's happening and why the visual editor looks one way but the web page looks another? I appreciate any help in advance! Thank you!

  2. jmoseley
    Posted 2 years ago #

    I believe that the image issue may be due to the fact that it has a class of alignnone. It should be alignright. As for the line breaks, I am not quite sure, but it may be that extra line breaks are creating <p></p> tags and maybe your style sheet has p tags set to not have and margin or padding. This is just a guess without seeing your site.

  3. philbonsai
    Posted 2 years ago #

    Thanks for the quick jmoseley! As I was making some edits I found the source of my problems >.< A "float:left" that I didn't notice earlier... Thanks for the help!

  4. jmoseley
    Posted 2 years ago #

    Glad you got it figured out!

Topic Closed

This topic has been closed to new replies.

About this Topic