Linux 软件免费装
Banner图

Ninja Forms Blocks

开发者 alexusblack
更新时间 2016年1月27日 16:39
PHP版本: 3.0.1 及以上
WordPress版本: 4.4.1
版权: GPLv2 or later
版权网址: 版权信息

标签

div layout Blocks Ninja Forms Columns

下载

详情介绍:

Ninja Forms Blocks is really simple plugin adding two form elements: [BLOCK] and [/BLOCK]. [BLOCK] is a html div element with custom class option. Using blocks you can:

安装:

  1. Upload njf_blocks folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. add open [BLOCK] and close [/BLOCK] to your Ninja Form
  4. add css code for your blocks

屏幕截图:

  • Add open [BLOCK] and close [/BLOCK] to your Ninja Form
  • Add custom class to [BLOCK]

常见问题:

How I can create two columns layout with custom css?

Create two columns with blocks in form editor, add njf-column njf-column__left classes to first [BLOCK] and njf-column njf-column__right classes to second [BLOCK]. Then add this code to your CSS file (thanks @ronherren): .njf-column { display: -moz-inline-stack; /* Firefox inline-block fix */ display: inline-block; vertical-align: top; /* Align both columns to top */ zoom: 1; /* IE inline-block fix */ *display: inline; /* IE inline-block fix */ width: 49.5%; }

更新日志:

1.2 1.1 1.0