Hi, yes all aspects of the lightbox can be customized via the lightbox theme (HTML/CSS). Full details are available in SLB’s Themes documentation.
-
This reply was modified 5 years, 1 month ago by
Archetyped.
Hi
Sorry but it’s way over my level π
My problem is that the loading-animation is not transparent (It has a white box around … and it’s not that nice looking)
I thought i might have been able to load a transparent animation in via CSS
My fix-the-problem-solution right now is to hide the animation doing this:
.slb_loading {
display:none!important;
}
… This was not quite what I wanted but it is ok
Hi, if you are able to modify the .slb_loading element via CSS (e.g. via a custom lightbox theme, WordPress theme CSS, etc.), then you can replace the default animation with whatever you want rather than hiding it altogether.
Simply update the .slb_loading element with the desired CSS animation properties and it should be displayed.
This is how I made it work
.slb_loading{
background-image: url(https://domain.com/wp-content/uploads/2021/10/my-own-animation.gif)!important;
}
Thanks π