Recaptcha Plugin Size

This topic contains 5 replies, has 3 voices, and was last updated by  Alex Rollin 5 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #3829

    Colin Whiteside
    Full Member
    Post count: 46

    The recaptcha widget breaks the layout on some mobile phones, so it seems necessary to use the compact size… it was simple enough for me to hard code it in line 232 of includes/functions.php:

    grecaptcha.render(‘<?php echo $div_id;?>’, { ‘sitekey’ : ‘<?php echo $site_key;?>’, ‘theme’ : ‘<?php echo $captcha_theme;?>’, ‘size’ : ‘compact’ });

    But I thought it would be better to use the compact size only for mobile. The normal size looks better on screen layout.

    I wonder if you could change this?

    #3833

    Colin Whiteside
    Full Member
    Post count: 46
    This reply has been marked as private.
    #3834

    Alex Rollin
    Moderator
    Post count: 27815

    Thanks for sharing that, the developers will take a look.

    #3840

    Patrik
    Moderator
    Post count: 1971

    Hi,

    Thanks for your suggestion. I have applied the changes on your site. Please review it and let us know how it works for you.

    Regards,
    Patrik

    #3856

    Colin Whiteside
    Full Member
    Post count: 46

    Works great! Thank you so much!

    #3858

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
Viewing 6 posts - 1 through 6 (of 6 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket