I set up facybox using their quick start suggestion… https://fancyapps.com/fancybox/3/
It works fine to view images, but I want to use it to open a message once a link/button is clicked. Exactly like this… https://codepen.io/fancyapps/pen/qMewWv?editors=1010
I have the HTML code where I want it, now my question is where exactly to put the JS code? I tried to put it at the end of theme.js but when you click the button it still does nothing.
Thanks in advanced for the help!