Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page not working after consents banner disappear #10

Open
Caine85 opened this issue Jul 22, 2018 · 0 comments
Open

Page not working after consents banner disappear #10

Caine85 opened this issue Jul 22, 2018 · 0 comments

Comments

@Caine85
Copy link

Caine85 commented Jul 22, 2018

Hi, thank you so much for the wonderful plug-in!

Once the consents banner is closed, the corresponding div is no longer displayed on screen, but in fact remains above all other elements, making the page work only after a reload.

I noticed, in the JavaScript version of this plug-in, that the line 587 of the file 'eucookielaw3.js' was commented, which could be the cause of the aforementioned error:
// mainContainer.style.display = 'none';

For now I solved this error by editing the CSS of the theme I use in WordPress, adding:

.eucookielaw-modal.modal {
    z-index: -9999!important;
}

.eucookielaw-modal.in {
    z-index: 9999!important;
}

Thank you so much again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant