WordPress.org

Ready to get started?Download WordPress

Forums

Image align (3 posts)

  1. vacom
    Member
    Posted 5 years ago #

    When put the image in my post (wordpress 2.7), it's align center but when i publish my blog, the image align is left. Any help?

  2. badz525
    Member
    Posted 5 years ago #

    wordpress got a problem with image align,

    as stated by vmalni :

    "However in WordPress, even you’ve aligned it nicely in the text editor; when you post it, WordPress wont align it properly. It is because its core style is forcing the images to be aligned to the left although they are aligned differently in text editor. So, to fix this, we need to override the default style."

    what you can do is, override it.

    get the code from here

    http://www.vmalni.com/2009/02/how-to-fix-image-positioning-in-wordpress/

  3. DJBallard
    Member
    Posted 5 years ago #

    I am having the same problem. I cannot find the code in that link, nor do I know how to update my code in this regard, so if someone could possibly explain to me how to do this, I would really appreciate it!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags