How to enable hide/show functionality of elements after Lighbox is closed

Hi,
In my page, I have elements that “on Click” should run a function and hide/show some elements .
The problem is That after the Lightbox is closed (sign In) the function under the “onClick” (not connected to the sign in) is working, but the hide/ show not.
How can I solve it?

Hey, can you please post your site url so we can have a better look at the issue.

Thank you