I am trying to resize my ReCaptcha on my contact form. Am running Revo 2.2.9 and have formit installed. My problem has to do with the maximum width of the recaptcha form field. The default width is too wide so on smaller devices it does not fit in the window. I have the rest of the site responsive all except for this one recaptcha field.
In trying to lower the width of my recaptcha field I found this file:
/public_html/core/components/formit/model/recaptcha/formitrecaptcha.class.php
Line #147 - #150
'theme' => $this->modx->getOption('recaptchaTheme',$scriptProperties,'clean'),
'width' => $this->modx->getOption('recaptchaWidth',$scriptProperties,250),
'height' => $this->modx->getOption('recaptchaHeight',$scriptProperties,150),
'lang' => $this->modx->getOption('cultureKey',null,'en'),
The width was at 500 and the height was at 300. I lowered this thinking it would shrink down my width but it still looks like the same size on the front end. I tried cleaning cache multiple times. When I look at source code it shows the new properties I have it set to, yet does not seem to show this half size in my simulator here:
http://iphone4simulator.com/
Is there anywhere else I can control the width of this recaptcha field? Any suggestions?
[ed. note: wbbuilder last edited this post 10 years, 4 months ago.]