With V2 ReCaptcha theme no longer allows for styling at Google. Data-Theme for SE Default is light. My inspector says is in the CSS but I can't find it - Would anyone know what file its in.
You would put the custom css in your theme.css via admin, making sure to work on a clone of the insignia theme if using that theme. I've put tips in other threads lately for how to figure out the css codes to use for each page of the site. You may want to check those tips as I'm not on my local dev site atm.
I tried the CSS no luck - I think this one is not that simple. With the multiple Js and states and its iframe its hard to figure out. Somewhere in my SE files lives the data-theme "light" I think if I just change it to "dark" it should work.
I suggest you get sublime text as I use it for searching files for stuff. I searched recaptcha and found it is in application/libraries/Engine/Service/ReCaptcha2.php
protected $_attributes = array(
65: 'class' => 'g-recaptcha',
66 'theme' => 'light',
67 'type' => 'image',
I didn't have time to check all the other files or test but that should start you out, clear cache and browser cache after changing it. Backup the file before changing it. Use Sublime Text to find other instances if that doesn't work.
AMAZING as always Found it right where you said let you know how it goes after backups etc.
Hope it works well.
That file alone didn't do the trick - might be several - I will keep looking and update if I find solution
It's also here application/modules/Core/Api/Core.php
// Recaptcha
108 return array_merge(array(
109 'label' => 'Human Verification',
110: 'captcha' => 'ReCaptcha2',
111 'required' => true,
112 'captchaOptions' => array(
113: 'privkey' => $spamSettings['recaptchaprivate'],
114: 'pubkey' => $spamSettings['recaptchapublic'],
115 'theme' => 'light',
116 'size' => (isset($params['size']) ? $params['size'] : 'normal' ),
Tested and that worked.
@Donna
Thank you.
I changed just the application/modules/Core/Api/Core.php and it worked here too.
THANK YOU !
Glad it worked