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

Replace display:none with visibility: hidden #141

Open
simeonbugarija opened this issue Dec 2, 2020 · 0 comments
Open

Replace display:none with visibility: hidden #141

simeonbugarija opened this issue Dec 2, 2020 · 0 comments

Comments

@simeonbugarija
Copy link

According to Google's frequently asked questions related to hiding the badge, it should be done using the following styles:

.grecaptcha-badge { visibility: hidden; }

https://developers.google.com/recaptcha/docs/faq#id-like-to-hide-the-recaptcha-badge.-what-is-allowed

On stackoverflow there is an answer that is warning that the "display: none;" appears to disable the spam checking

https://stackoverflow.com/a/44543771

Also the syntax for the existing style display:none is wrong, !important should be before the semicolon, like this:

<style>.grecaptcha-badge{display:none !important;}</style>

screenshot

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