WordPress.org

Ready to get started?Download WordPress

Forums

Images in my posts do not show aligned to the center (2 posts)

  1. parfumio
    Member
    Posted 4 years ago #

    I have exported my wordpress.com blog to wordpress.org.

    In the articles, I have aligned some of the images to the center. In the wp.com blog they were showing in the center so it was ok. Now in the wp.org blog almost all of them are showing aligned at the left.
    I was thinking it's because of my theme, maybe it forces the images to be aligned at the left, i don't know... But the weird thing is that in a few of the posts the images are aligned to the center as I configured them...

    Please see http://www.parfumio.ro/blog. In the last posts images are shown at the left while in an older post (http://www.parfumio.ro/2010/05/30/istoria-parfumului/) images are shown in the center as they were supposed to...

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    It's your theme. Try editing style.css and changing:

    .article img, img.article {
    border:0 solid #ADB8B2;
    margin:1em;
    }

    to:

    .article img, img.article {
    border:0 solid #ADB8B2;
    margin-top:1em;
    margin-bottom:1em;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic