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

Lightbox background color


Oct 02, 2013 01:45PM EDT

How can I change the background color of the lightbox, say to white?

Also it would be nice, just like some themes have the option of changing the color style to black or white, to have this option for the lightbox as a setting.

Up 2 rated Down

Jeff Matson

Oct 02, 2013 02:20PM EDT
I don't believe there is a way to do it in the admin panel, but you can change it within the CSS for Lightbox. The file to edit is located at:

Up -1 rated Down

Vladimir Potetyuev

Oct 02, 2013 03:24PM EDT
You can copy the file lightbox.lens from the folder app/site/themes in your template folder, then
copy the file lightbox.css from the folder app/site/themes/common/css/ in your template css folder.
In your file lightbox.css, replace the path to the file like this <koken:asset file="css/lightbox.css" /> (without common="true"). And then edit this file css, without touching the base program file that can then be overwritten when updating Koken.
And if you want to enter in the control panel control something in the file lightbox.css, then I think that all the settings lightbox.css just need to copy in the template file settings.css.lens. In normal files css, as I understand testing Koken, they do not work.
Up 0 rated Down

Vladimir Potetyuev

Oct 02, 2013 03:29PM EDT
Replace the path to lightbox.css must certainly in the file lightbox.lens. :) <koken:asset file="css/lightbox.css" />

This question has received the maximum number of answers.
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found