Forum Discussion
JessicaCelli450
7 months agoCommunity Member
Remove X when embedding Storyline into Rise
I would like to remove this X when embedding a storyline block into rise. Is this possible? The size of the content changes when it appears and when clicked, the storyline block will completely disa...
JamesonMattice
4 months agoCommunity Member
Assuming you want to keep the lightbox feature, you can do this using Javascript in your Storyline project. On the slide you are lightboxing, add a trigger to execute Javascript when the timeline starts. Just use this code:
//Hide lightbox close button
if (document.getElementsByClassName("lightbox-close-btn-floating").length > 0) {
document.getElementsByClassName("lightbox-close-btn-floating")[0].style.display = "none";
}
If you want to show the close button, just use "inline" instead of "none".