简体   繁体   English

如何添加空白行联系表格 7

[英]how to add a blank line contact form 7

I'm new to and I am using Contact Form 7 for a form on the website.我是新手,我正在使用Contact Form 7作为网站上的表格。 At the bottom of the form, I've added recaptcha and then the send button.在表单的底部,我添加了 recaptcha,然后添加了发送按钮。 I want to add a SPACE between the end of recaptcha and the form.我想在 recaptcha 的末尾和表单之间添加一个空格。

What code should I add there?我应该在那里添加什么代码? The code looks like this.代码看起来像这样。

[recaptcha]

[submit "Send"]

And the screenshot looks like this.屏幕截图看起来像这样。

recaptcha 的屏幕截图太近而无法发送按钮

Thanks in advance!提前致谢!

As Fralec_ pointed out, you can use a line break <br /> between the shortcodes to nudge the "Send" button down:正如Fralec_指出的那样,您可以在短代码之间使用换行符<br />将“发送”按钮向下轻推:

[recaptcha]
<br />
[submit "Send"]

Alternatively, if you want more control over the spacing, I would suggest wrapping the "Send" button inside a <div> with inline styling applied to it (change the 20px value accordingly), like this:或者,如果您想更好地控制间距,我建议将“发送”按钮包裹在一个<div>内,并对其应用内联样式(相应地更改20px值),如下所示:

[recaptcha]
<div style="margin-top: 20px;">
  [submit "Send"]
</div>

Resources资源

You can try this:你可以试试这个:

[recaptcha]<br/>

[submit "Send"]

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

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