Is there any way to change the color of the Lightbox Close (X) button in the new modern dark player?

I would prefer to use the dark modern player, but I just tried out the Lightbox feature and the Close (X) button is incredibly hard to view. It's ok to see in iPad view (course is 4:3 size) but in laptop view it's really difficult.

See attached, laptop is left, iPad is right.

8 Replies
Russell Killips

Hi David,

I decided to try manipulating the close button with javascript.

On the lightbox slide, there is an execute javascript trigger on timeline start.

var x = document.getElementsByClassName("lightbox-close-btn")[0];
x.style.backgroundColor = "#ff0000";
x.style.width = "40px";
x.style.height = "40px";
x.style.padding = "10px";
x.style.margin = "10px";

Here is a sample project for you to look at.