• hangx

    (@hangx)


    Hi all,
    I would like to use the original images size in featured image box, instead of stretching to 100% of the space.
    My problem is that I use very small companies logo images (like 137×35) that can’t be stretched.
    Can I use the original image size and center or align in the space available?
    Thanks for any reply.

Viewing 1 replies (of 1 total)
  • Anonymous User 12851872

    (@anonymized-12851872)

    Hi,

    the origine code is

    .post-thumbnail img {
        display: block;
        width: 100%;
        height: auto;
    }

    in custom css, put

    .post-thumbnail img {
        width: auto;
        height: auto;
        text-align: center;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Original image size for featured images’ is closed to new replies.