• Resolved gokh

    (@gokh)


    Hi,

    On a 360px wide screen, the recaptcha overflows outside the container. I added CSS code but it didn’t work.

    https://prnt.sc/p-u11RHNHcvn

    Thanks!

    @media only screen and (max-width: 360px) {
    .wpforms-container .wpforms-recaptcha-container iframe {
        width: 100%;
        max-width: 85%;
    }
    .rc-anchor-logo-portrait {
        margin: 10px 0 0 -15px;
        width: 58px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }
    }
    • This topic was modified 1 year, 3 months ago by gokh.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @gokh,

    Thanks for reaching out!

    I was unable to reproduce the issue using theme, and here’s a screenshot. Please kindly know that the styles (including width) come from Google reCAPTCHA.

    To address the issue, you could try a custom CSS, like:

    .wpforms-container .wpforms-recaptcha-container {
        padding: 10px 0 20px -50px;
    }

    And in case it helps, here’s a tutorial on how to add custom CSS like this to your site.

    I hope this helps!

    Thread Starter gokh

    (@gokh)

    I added the code to the customizer. Unfortunately it didn’t work. https://aselkaasansor.com/iletisim/

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @gokh,

    Thanks for letting me know, and sharing the URL!

    Looking at your form, I could find a CSS snippet to adjust the Google reCAPTCHA size:

    @media screen and (max-width: 480px){
        .g-recaptcha {
            transform:scale(0.8);
            -webkit-transform:scale(0.8);
            transform-origin:0 0;
            -webkit-transform-origin:0 0;
        }
    }

    Here’s a screencast trying this CSS snippet: https://a.supportally.com/v/4mDmYe.

    Hope this helps!

    Thread Starter gokh

    (@gokh)

    I added Elementor container custom CSS and it worked. Thank you very much..

    Hey @gokh – Thanks for letting us know that the CSS snippet worked for you. In case you have any questions, please feel free to reachout.

    Kindly,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Recapctcha overflows outside area (360px width)’ is closed to new replies.