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

Borders around images

Philipp

Dec 16, 2014 04:33PM EST

First of all I would like to take the opportunity to thank the Koken team for this great application. I switched from Zenphoto a while back and have not looked back since (well, except for some minor features).

Now I'm currently trying to adopt my custom theme into Koken which involves adding a border around the displayed images. Now I found a strange behaviour which I have been able to reproduce with the Blueprint theme. I simply entered the following Custom CSS:

img {
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
box-sizing:border-box;

border: solid #ffffff 5px;
}

Once I publish those changes, the images magically disappear in the content template. Only the borders are shown. If I change the border width to 4px everything looks as expected.

Any idea what might cause this behaviour? Running the latest Firefox on Windows 7 in case that's of any help.

Up 0 rated Down

Todd Dominey Koken Agent

Dec 17, 2014 05:02PM EST

The box sizing may be causing problems with the responsive image functionality. Perhaps you could use ‘border’ by itself? May want to give ‘outline’ a try too.

Up 0 rated Down

Philipp

Mar 01, 2015 10:09AM EST
Thanks for the reply. Outline didn't achieve the desired result either. I was able to implement a workaround though by removing the border-box box-sizing and using the calc functionality of CSS instead.

This question has received the maximum number of answers.

support@koken.me
http://assets3.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