Michael Berk
Michael Berk

Reputation: 725

reCAPTCHA position cannot be changed (from bottom right)

I have just added a reCAPTCHA v3 to a contact form, however I am unable to change the position from the bottom right of the page.

Position on No Hover enter image description here

Position on Hover enter image description here

After following this tutorial and looking for solutions, all reCAPTCHA examples embed the div in a bootstrap contact form. As I am not using bootstrap, I would like to simply position the element using css.

Things I've tried:

Upvotes: 1

Views: 789

Answers (1)

Michael Berk
Michael Berk

Reputation: 725

Quick answer thanks to @AlonEitan. The reCAPTCHA v3 has no UI interface. So instead of embedding it in the contact form (as with v2), you simply hide the banner:

<div class="grecaptcha-recaptcha" data-sitekey="KEY" id="recaptcha" name="recaptcha" style="opacity=0;"></div>

Source

Upvotes: 1

Related Questions