Forum Discussion
Is there any way to change the color of the Lightbox Close (X) button in the new modern dark player?
No, I don't, just a plain slide. Also, you can barely see it - it doesn't fully display, like I said - looks like a glitch; not fully visible, but still annoying.
- RussellKillips-6 years agoCommunity Member
Hello Alexandra,
Styling the lightbox close button can also be done without using javascript.
After publishing your course, you will need to add some lines of code to story_html5.html
I prefer editing html files using a program called Sublime Text. Another program that is popular is called Notepad++
Just before the closing head tag ( </head> around line 15 ) I added:
<style>
.lightbox-close-btn{
background-color: #ff0000 !important;
width: 40px !important;
height: 40px !important;
padding: 10px !important;
margin: 10px !important;
}
</style>Here is a screenshot of what it looks like in Sublime Text.