Copy link to clipboard
Copied
Hi,
I am pretty sure this can not be done, but is there any way to change the styling of the reCaptcha v2 module in Business Catalyst? I just want to be able to change the width so that it fills a div, max-width:380px.
I posted this question about a week ago but I'm not sure that it registered with the forum as I can not find it and haven't received any replies.
Cheers
Grant
Copy link to clipboard
Copied
The docs and options for the modules:
module_captchav2 | Business Catalyst Developers​
module_recaptcha | Business Catalyst Developers
Copy link to clipboard
Copied
I don't think any such options are built in, but you can influence it's appearance with css and js. It would just be a pain in the neck to implement.
Copy link to clipboard
Copied
If you actually look at the link to the documentation I posted you would see you can for the BC ones and recaptcha
Copy link to clipboard
Copied
According to the documentation Liam posted, BC specifically allows you to choose between two sizes for recaptcha: normal & compact.
Copy link to clipboard
Copied
You just change this code in the module tag:
{module_captchav2,LightBlue,#FF3300,220,36}
Module_catpchav2,background color, text color, width, height
Copy link to clipboard
Copied
May not be the best solution, but works on most updated browsers...
.g-recaptcha {transform:scale(0.77);-webkit-transform:scale(0.77);transform-origin:0 0;-webkit-transform-origin:0 0;}
Copy link to clipboard
Copied
Or just use the width and height options available in the module:
Copy link to clipboard
Copied
I understood the question to be concerning recaptcha v2

Copy link to clipboard
Copied
which is the same
Find more inspiration, events, and resources on the new Adobe Community
Explore Now