I would like to you ask you. I changed the dimensions of the thumbnail size in my theme. But in the categories, it looks stretched (I mean the images associate with a post in the category view). Problem is that some pictures are in landscape and others are in portrait format. The picture is not visible in full resolution. Is there any CSS command which can help me? What do you recommend?

1 Answer 1


Using background-size: cover instead of background-size: contain with a custom background-position ? It will cut images but preserve the same format/size for all.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.