re-captcha width | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

re-captcha width

how so i change the width of a re-captcha element

7th Jun 2018, 7:21 PM
Victor Cislari
Victor Cislari - avatar
1 Answer
+ 2
For v2 "I'm not a robot": https://developers.google.com/recaptcha/docs/display The "data-size" parameter appears to be what they officially provide. This is how "data" attributes work in HTML: https://www.w3schools.com/tags/att_global_data.asp From StackOverflow, which appears to cause problems with extensions and possibly disabling the [Submit] button: .g-recaptcha { transform: scale(0.77); transform-origin: 0 0; } https://stackoverflow.com/questions/27691411/change-new-google-recaptcha-width
7th Jun 2018, 7:34 PM
Kirk Schafer
Kirk Schafer - avatar