Viewing 6 replies - 1 through 6 (of 6 total)
  • On the few posts that I looked at, it seemed that your images are all full width, so it’s hard to tell that there’s any sort of alignment associated with them. However, if you add a rule like this to your custom CSS:

    .hentry img {
        margin-left: initial;
        margin-right: initial;
    }

    That should override the aligncenter class (as well as alignleft and alignright).

    Thread Starter thekentuckygent

    (@thekentuckygent)

    That did it! Thanks so much – I really appreciate it.

    One last question that kind of goes along with this CSS – any way to use CSS to expand the width of the image to 705px vs the 680px that is right now?

    Add this rule:

    img.size-auto, img.size-full, img.size-large,
    img.size-medium, .attachment img, .widget-container img {
       max-width: 705px;
    }

    Hmm, wait, that didn’t do it. Just a sec…

    OK, slight change, need to add a width property, too:

    img.size-auto, img.size-full, img.size-large,
    img.size-medium, .attachment img, .widget-container img {
       max-width: 705px;
       width: 100%;
    }

    Thread Starter thekentuckygent

    (@thekentuckygent)

    Indeed a hero! Thanks a million.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Image Align None’ is closed to new replies.