I have successfully implemented a jQuery CustomBox modal on my website. However, I am facing an issue with hiding the content div behind the modal once it pops up. My goal is to make the content div reappear after the modal has been closed. You can view a working example of this here.
Although I have watched jQuery videos from css-tricks for guidance, I am still struggling to make this functionality work. Any assistance would be highly appreciated!
EDIT: In addition to closing the modal using the 'x' button, I also want the content div to reappear when the modal is closed by clicking outside the modal screen.
You can visit the actual webpage here.
When you click on ‘CLICK ME’, the modal pops up as expected. However, I only want the background image of the cellar to be visible, not the page underneath it. Are there any suggestions on how to achieve this?
Any input or advice would be greatly appreciated. Thank you!