Support Center

Recent questions

About Koken

This Help Center provides support for Koken, a free content management system designed for photographers, artists and designers.

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Same height for all pictures in Koken Pillar

Miguel

Apr 13, 2017 06:16AM EDT

Hello,
I'm working with a custom theme where I use Pillar to display the pictures from my albums. The pictures are mixed between landscape and portrait aspect ratio. I now have the problem that the landscape photos are a lot bigger and more dominant than the landscape ones because they have the same width. Would it be possible to use pillar in a way that it builds the mosaic with a containing div and that the images inside scale to fit the div's height, so they would have all the same height?

Thanks!

Up 0 rated Down

Miguel

Apr 17, 2017 09:33AM EDT
I tried messing with this values, but had no luck.

.kgrid_item {
/* Hides each medium sized image */
display:none;
background-color: #FFFFFF;

}
.kgrid_item img {
/* Responsive magic */
max-width:100%;
height:auto;
}

I'm sure there is something I'm missing.

This question has received the maximum number of answers.

support@koken.me
http://assets1.desk.com/
false
koken
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete