| 开发者 | alexusblack |
|---|---|
| 更新时间 | 2016年1月27日 16:39 |
| PHP版本: | 3.0.1 及以上 |
| WordPress版本: | 4.4.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
div element with custom class option. Using blocks you can:
njf_blocks folder to the /wp-content/plugins/ directoryCreate 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%; }