WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: NextGEN Gallery] Images won't center on page (1 post)

  1. kosmikkreeper
    Member
    Posted 5 years ago #

    Hi there.

    When I insert individual images in a post and select "center", the image stays left with text appearing at the bottom. The left and right options work fine. You can see an example here http://image-y.com/blog/tips/7-steps-to-perfect-sunset-sunrise-photos/

    The only changes I made in my css style sheet was to add padding like so:
    img.left
    {
    float:left;
    margin:0 1em 1em 0;
    padding: 8px;
    }
    img.right
    {
    float:right;
    margin:0 0 1em 1em;
    padding: 8px;
    }
    a img
    {
    border:0;
    padding-bottom:2px;
    border-bottom:5px;
    padding: 8px;

    I removed the padding but that didn't fix it.

    Thanks for your help.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.