Page 1 of 1
Centering Captcha in a layout grid
Posted: Tue Aug 30, 2022 5:19 pm
by Aris
Hello.
I'm trying to place the Captcha (Type: reCaptcha in the center of the psi, but I can't: the psi takes up the entire grid and the image is on the left.
How can I center it in the grid?
Thank you.
Re: Centering Captcha in a layout grid
Posted: Tue Aug 30, 2022 5:29 pm
by crispy68
Which recaptcha are you using? recaptcha v2? What is "psi"?
Re: Centering Captcha in a layout grid
Posted: Tue Aug 30, 2022 9:02 pm
by Aris
Sorry.
I am usimg Captcha (Type: reCaptcha v2).
Regardless of this, the same problem I face with the Captcha Type Math.
Re: Centering Captcha in a layout grid
Posted: Tue Aug 30, 2022 9:27 pm
by crispy68
What is "psi"? Are you trying to center it in a grid?
Re: Centering Captcha in a layout grid
Posted: Wed Aug 31, 2022 5:51 am
by Aris
Yes.
Re: Centering Captcha in a layout grid
Posted: Wed Aug 31, 2022 5:53 am
by Aris
Sorry for "psi".
I am usimg Captcha (Type: reCaptcha v2).
Regardless of this, the same problem I face with the Captcha Type Math.
Thank you.
Re: Centering Captcha in a layout grid
Posted: Wed Aug 31, 2022 1:10 pm
by crispy68
For the recaptcha v2, try this:
Open a code object and add the following placed between the <head> tags:
Code: Select all
<style>
.g-recaptcha{width:304px;margin:0 auto;}
</style>
Re: Centering Captcha in a layout grid
Posted: Wed Aug 31, 2022 3:15 pm
by Aris
Thank you, crispy68.
Perfect solution!
Aris