blog - Forum | JoomShaper
Staff replied General

blog

Asked by Taco Hoppener 5 years ago Last activity 5 years ago

is t possible that when i customer upload the images with different size that helix set them to 1 size

https://karin50.nl/index.php/femmefit

now the row is not nice, and when ik click on the read more so that that image also resizi

a play with the blog option but i cant find t.

4 replies

Pavel
5 years ago · edited

Hi. Try following code

/*for blog*/
.article-intro-image img {
    height: 100%;
    width: 100%;
    max-height: 230px;
    object-fit: cover;
}
/*for single article*/
.article-full-image img {
    width: 100%;
    height: 100%;
    max-width: 600px;
    max-height: 340px;
    object-fit: cover;
}

Set up values max-width and max-height as you need

Result

Pavel

Yes, the same principle

.article-feature-gallery .carousel-item img {
    width: 100%;
    height: 100%;
    max-height: 300px;
    object-fit: cover;
}
Mehtaz Afsana Borsha Staff

Hi,
Thanks Pavel for the answer

Log in to reply.