簡體   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