I have an instance of Hes Gallery running and its all working great. However the onclick on the BG container isn't triggering the gallery to close. I have added a separate onclick using the id and an addEventListener but no luck there either. I can see that when I try to see the BG on the DOM, it doesn't highlight the element so wondering if it's a styling issue. Can also see that both onclicks are showing in the event listeners section of the console so they are definitely attached. Any guidance much appreciated.
I have an instance of Hes Gallery running and its all working great. However the onclick on the BG container isn't triggering the gallery to close. I have added a separate onclick using the id and an addEventListener but no luck there either. I can see that when I try to see the BG on the DOM, it doesn't highlight the element so wondering if it's a styling issue. Can also see that both onclicks are showing in the event listeners section of the console so they are definitely attached. Any guidance much appreciated.