Support » Fixing WordPress » How to fix stretched image in post listing

Viewing 3 replies - 1 through 3 (of 3 total)
  • Chris Olbekson

    (@c3mdigital)

    Level 12 Bug Squasher & Forum Moderator

    In your style.css file on line 984 the img is width is manually set to 300px. This is forcing the image to display at that width.

    change:

    .blog-main-post-container .post-image img {
    width: 300px;
    }

    to:

    .blog-main-post-container .post-image img {
    width: 100%;
    max-width: 300px;
    }

    tq so much chris. it works well. 😀

    whe image width has been changed because the px, image stretching c# codes and examples can be foud here, not knowing if it is helpful or not.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to fix stretched image in post listing’ is closed to new replies.