WordPress.org

Forums

Post images getting squished (1 post)

  1. shawncbarry
    Member
    Posted 4 years ago #

    I'm using a theme that's very cool and versatile. When I post, the postpage preview image/thumbnail was originally too squaty for my liking, so I adjusted the dimensions in the style.css file to match my preview images @ 266x320 pixels.

    Here's the thumbnail code:
    .thumbnail {
    width:266px;
    height:320px;
    max-width:266px;
    max-height:320px;
    overflow:hidden;
    }

    Anything in the above code that would force the image to squish and trim the top and bottom of the thumbnail off? The image looks fine in the post, and it's exactly 266x320. Incidentally, the first time I posted an image with this new setting, it worked. It never worked properly again after that.

    Code help, please

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.