After successfully implementing Google Recaptcha on my website (which is not a Wordpress or Joomla site), I encountered an issue with responsiveness. Despite attempting to override Google's styles in my custom CSS file, their liberal use of the !important
selector made it difficult for me to make any changes without breaking the plugin functionality.
Are there any suggestions or solutions to this problem? Unfortunately, using a different re-captcha solution is not an option for me at this time.
Below is the HTML code generated by recaptcha.php from the server, illustrating the lack of CSS files that are causing the main issue:
<div id="recaptcha_widget_div" style="" class=" recaptcha_nothad_incorrect_sol recaptcha_isnot_showing_audio"><div id="recaptcha_area"><table id="recaptcha_table" class="recaptchatable recaptcha_theme_red">
<tbody>
<tr>
<td colspan="6" class="recaptcha_r1_c1"></td>
</tr>
<!-- Remaining table rows and cells omitted for brevity -->
</table>
</div>
</div>
This is the snippet of code I have on the actual page:
require_once('recaptchalib.php');
$publickey = "your_public_key"; // You can obtain this from the signup page
echo recaptcha_get_html($publickey);
These discrepancies have posed challenges for ensuring proper styling and responsiveness on my website. Any insights or advice on how to tackle this issue would be greatly appreciated.