【问题标题】:how to put recaptcha and submit in one line contact form 7如何将recaptcha和提交在一个联系表7
【发布时间】:2018-06-04 10:50:24
【问题描述】:

如何在一行中添加这些元素:

[recaptcha] [submit "Send"]

因此,recaptcha 将在左侧,提交按钮在右侧 WordPress 用 div 包装每个短代码。

【问题讨论】:

  • 这听起来可能是一个与 CSS 相关的问题。您可能希望添加 CSS 作为您的标签,或添加一些说明。

标签: wordpress css layout contact-form-7


【解决方案1】:

在联系表 7 中给出字段类名称:

<div class="clearfix">[recaptcha id:recaptchaform]<p class="cf7submitbtn">[submit "Send"]</p></div>

然后将你的 CSS 设置为:

.recaptchaform {float:left}
.cf7submitbtn {float:right}

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-08-02
    • 2019-08-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-10-01
    • 2015-04-16
    相关资源
    最近更新 更多