跳到内容

Perfect Columns

v1.2.0

moto_485 · 2014年6月7日 上架

Add shortcodes to easily create up to 12 equal columns in your pages and posts

正在使用
20+
评分
5.0 / 5
累计下载
3,083
最近更新
2014年7月12日
2 条评价需要 WordPress 3.9+已测试到 3.9.40

贡献者

截图

After installation you will have blue buttons along the top of your editor.
After installation you will have blue buttons along the top of your editor.
First click the [R] button for each new row.
First click the [R] button for each new row.

If you need two, three or more columns of text or images and need them to be exactly the same using on CSS3 then this is it.

First insert a [row] shortcode (this needs to wrap around every new row) then click the numbers until you have added shortcodes that add up to 12.

Example –
[row]

[p-col-3]

Content Here

[/p-col-3]

[p-col-3]

Content Here

[/p-col-3]

[p-col-3]

Content Here

[/p-col-3]

[p-col-3]

Content Here

[/p-col-3]

[/row]

These rows will collapse for mobile devices.

Feel free to over write the css in your themes style sheet.

NOTE
This uses box-sizing:border-box in the css you may notice a slight change in your theme if not already using this.

If you do you will need to adjust your themes css.
Basically you may find you lose width in your DIVs, it should be just an easy matter of adding some width to these DIVs.

What box-sizing:border-box does is set your width, for example:
If your DIV was set to a width of 100px and you added padding-left:5px; border-left:1px solid; this padding and border will be added inside the DIV in turn not effecting the 100px width. With out this in the css 100px width would be expanded to a total of 106px.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums