This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: image resize in search results

#7076
Ernest MarcinkoErnest Marcinko
Keymaster

I see what you mean now. Not the whole image is displayed.
It’s because it fills the whole result area with the image resized by the exact ratio. It’s so called “cover” background mode.

I believe you can force the image to display as “whole” with the following CSS:

[html]
.results .item .asp_item_img {
background-size: contain !important;
background-repeat: no-repeat !important;
}
[/html]

that should force the image to the center without repeating.