@gallerycreator thanks for your fast support! Seems to work fine now 🙂
Hello,
I solved the problem.
<a data-fancybox data-src="#lightbox" id="lightbox-button" href="javascript:;"><div><p>Button-Text</p></div></a>
Don’t use p- and div-tags in an a-Tag. That will open the lightbox with 3 layers background.
Also I wrote the code this way:
<a data-fancybox data-touch="false" id="lightbox-button" href="#lightbox">BUTTON-TEXT</a>
Now it works perfect! 🙂
Hello @mplusb,
thank you very much.
Removing data-fancybox doesn’t work. The lightbox is not working anymore without this code. Seems that this is necessary.
Best regards
Martina
I’m sorry the ‘redbox’ button is displayed wrong, this is the code for the button:
<a data-fancybox data-src="#lightbox" id="lightbox-button" href="javascript:;"><div><p>Button-Text</p></div></a>