Blog - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

Blog

TH

Taco Hoppener

General 4 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.

0
4 Answers
Pavel
Pavel
Accepted Answer
4 years ago #34455

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

0
TH
Taco Hoppener
Accepted Answer
4 years ago #34459

yes that works

and for gallery

https://karin50.nl/index.php/gezin is there also a css

0
Pavel
Pavel
Accepted Answer
4 years ago #34462

Yes, the same principle

.article-feature-gallery .carousel-item img {
    width: 100%;
    height: 100%;
    max-height: 300px;
    object-fit: cover;
}
0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 4 years ago #34466

Hi, Thanks Pavel for the answer

0