繁体   English   中英

在联系表格 7 上居中对齐谷歌验证码框

[英]Align google Captcha box centally on contact form 7

我正在尝试在我的联系表单中添加一个验证码 V2 框,但是我无法将其居中对齐,并且它始终与左侧对齐。

It appears the iframe is adding a div style with width and height set, if i set this to auto in inspector (element.style) it removes the left alignment but adding a class CSS rule in the customiser doesn't seem to make any difference即使我成功了,重要的是,下界确实会在来自构建器的联系人中的短代码周围包裹一个 div,所以我有点卡住了

https://bseclients.co.uk/drinksnow/index.php/wedding-bar-hire/

将此 CSS 放入文件中。

.g-recaptcha > div{margin: 0 auto;}

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM