• Resolved charmp121

    (@charmp121)


    Hi,

    Is is possible to align the recaptcha badge on the bottom left side of the screen instead of the right? If so how would it be done, via css? Please let me know.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    Thank you for contacting us!

    Try to do the following:
    1) Go to the plugin settings page;
    2) Open Custom code tab;
    3) Mark “Activate” checkbox in the “PHP” section;
    4) Add the following code:

    function change_google_badge_style() { ?>
        <style type="text/css">
            .grecaptcha-badge {
                width: 70px !important;
                overflow: hidden !important;
                transition: all 0.3s ease !important;
                left: 4px !important;
            }
    
            .grecaptcha-badge:hover {
                width: 256px !important;
            }
        </style>
    <?php }
    add_action( 'login_footer', 'change_google_badge_style' );

    5) Save changes.

    Let us know the results.

    • This reply was modified 7 years, 4 months ago by bestwebsoft.
    Thread Starter charmp121

    (@charmp121)

    Hi,

    Thanks for the code. I installed it and it worked great!
    Greatly appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Recaptcha badge align left’ is closed to new replies.