Kunena Menu
single image equal dimension
- Kleszewski
-
Topic Author
- Offline
- Platinum Member
-
- I like playing chess.
Less
More
- Posts: 620
- Thank you received: 17
6 years 6 months ago #56291
by Kleszewski
single image equal dimension was created by Kleszewski
Please Log in or Create an account to join the conversation.
6 years 6 months ago #56304
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic single image equal dimension
Hi
you can do that using custom css like this
- add a css class on the row : equalimage
- add the custom css in the page
CEd
you can do that using custom css like this
- add a css class on the row : equalimage
- add the custom css in the page
Code:
.equalimage .innercontent, .equalimage .cktype, .equalimage .imageck, .equalimage .imageck img {
height: 100%;
}
.equalimage .imageck img {
object-fit: cover;
}
Joomlack Webmaster and Developer
The following user(s) said Thank You: Kleszewski
Please Log in or Create an account to join the conversation.
- Kleszewski
-
Topic Author
- Offline
- Platinum Member
-
- I like playing chess.
Less
More
- Posts: 620
- Thank you received: 17
6 years 6 months ago - 6 years 6 months ago #56305
by Kleszewski
Replied by Kleszewski on topic single image equal dimension
HTML / CSS button
class: equalimage
Template creator-> parameters -> custom css ->
It's almost good 
class: equalimage
Template creator-> parameters -> custom css ->
Code:
/*single image resize*/
.equalimage .innercontent, .equalimage .cktype, .equalimage .imageck, .equalimage .imageck img {
height: 100%;
}
.equalimage .imageck img {
object-fit: cover;
}
This message contains confidential information
Last edit: 6 years 6 months ago by Kleszewski.
Please Log in or Create an account to join the conversation.
6 years 6 months ago #56310
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic single image equal dimension
just checked your url and the images have the same height
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
- Kleszewski
-
Topic Author
- Offline
- Platinum Member
-
- I like playing chess.
Less
More
- Posts: 620
- Thank you received: 17
6 years 6 months ago #56311
by Kleszewski
Replied by Kleszewski on topic single image equal dimension
almost equal 
Check once again
I have duplicated this element with the css class: .equalimage
Row container dupicate -> css.equalimage ->
I added photos of various sizes, without prior preparation, it came out what you see.
I know that the best solution is to prepare photos of equal dimensions, but I thought that since there is a mechanism in the gallery that scales the photos (crop image), maybe the same technique can be used here
Check once again
I have duplicated this element with the css class: .equalimage
Row container dupicate -> css.equalimage ->
I added photos of various sizes, without prior preparation, it came out what you see.
I know that the best solution is to prepare photos of equal dimensions, but I thought that since there is a mechanism in the gallery that scales the photos (crop image), maybe the same technique can be used here
Please Log in or Create an account to join the conversation.
6 years 6 months ago #56312
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic single image equal dimension
thanks, I see now 
please try to add the width 100% like this
please try to add the width 100% like this
Code:
.equalimage .imageck img {
object-fit: cover;
width: 100%;
}
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Time to create page: 0.241 seconds





