Reputation: 725
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.
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:
<div class="g-recaptcha" data-sitekey="KEY" id="recaptcha" name="recaptcha" style="left=0px;position=absolute"></div>
Upvotes: 1
Views: 789
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>
Upvotes: 1