Layout · Gutenberg

Text Columns block for WordPress

Magazine-style multi-column text layout with drop cap, column rule / divider, pull quote spanning all columns and per-column WYSIWYG editing.

Get Blockenberg

Free Gutenberg block in Blockenberg. The inspector controls and front-end behavior on this page come from this block’s source, not a shared stub.

Get Blockenberg

What it actually does

Magazine-style multi-column text layout with drop cap, column rule / divider, pull quote spanning all columns and per-column WYSIWYG editing.

Inspector panels on this block: Layout, Drop Cap, Column Rule, Pull Quote. Those titles come from index.js, not from a shared template.

Behavior controls: “Text Alignment” options: Left, Justify, Center; “Rule Style” options: Solid, Dashed, Dotted, Double; “Pull Quote Position” options: Above columns, Between columns, Below columns.

Where to find it

Gutenberg inserter → Layout → search “Text Columns” (block name `blockenberg/text-columns` in block.json). Style it in the sidebar after insert.

How to use Text Columns block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Text Columns”, insert it. Category: Layout.
  3. Configure inspector controls that exist on this block. Open Layout. Set “Number of Columns”, “Column Gap (px)”, “Text Alignment”, “Enable Drop Cap”.
  4. Check the published page. The view script reads HTML data attributes: data-opts, data-rendered. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
Number of ColumnsNumeric range control in the inspector. Range 2–4. block.json default: 2. Saved as `columnCount`.
Column Gap (px)Numeric range control in the inspector. Range 16–100. block.json default: 40. Saved as `columnGap`.
Text AlignmentSelect control; the chosen value is saved on the block. Options: Left; Justify; Center. block.json default: left. Saved as `textAlign`.
Enable Drop CapOn/off toggle in the inspector. Off by default. Saved as `dropCap`.
Drop Cap Size (lines)Numeric range control in the inspector. Range 2–5. block.json default: 3. Saved as `dropCapSize`.
Show Column RuleOn/off toggle in the inspector. On by default. Saved as `showRule`.
Rule StyleSelect control; the chosen value is saved on the block. Options: Solid; Dashed; Dotted; Double. block.json default: solid. Saved as `ruleStyle`.
Rule Width (px)Numeric range control in the inspector. Range 1–4. block.json default: 1. Saved as `ruleWidth`.
Show Pull QuoteOn/off toggle in the inspector. Off by default. Saved as `showPullQuote`.
Pull Quote TextMultiline text field in the inspector. Saved as `pullQuote`.
Pull Quote PositionSelect control; the chosen value is saved on the block. Options: Above columns; Between columns; Below columns. block.json default: between. Saved as `pullQuotePos`.
Padding Top (px)Numeric range control in the inspector. Range 0–240. block.json default: 0. Saved as `paddingTop`.
Padding Bottom (px)Numeric range control in the inspector. Range 0–240. block.json default: 0. Saved as `paddingBottom`.
Colors — BackgroundColor control in the inspector. Saved as `bgColor`.
Colors — TextColor control in the inspector. block.json default: #374151. Saved as `textColor`.
Drop CapColor control in the inspector. block.json default: #111827. Saved as `dropCapColor`.
Column RuleColor control in the inspector. block.json default: #d1d5db. Saved as `ruleColor`.
Pull Quote BorderColor control in the inspector. block.json default: #6366f1. Saved as `pullQuoteBorder`.
Pull Quote TextColor control in the inspector. block.json default: #111827. Saved as `pullQuoteColor`.

What the front-end script actually does

When this is the right block

Notes from the implementation

viewScript: this folder’s frontend.js is enqueued on the front end for this block.

FAQ

How do I add the Text Columns block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Text Columns”. It sits under Layout. After insert, open Layout and set “Number of Columns”, “Column Gap (px)”, “Text Alignment”, “Enable Drop Cap”.

What makes Text Columns different from other Blockenberg blocks?

Magazine-style multi-column text layout with drop cap, column rule / divider, pull quote spanning all columns and per-column WYSIWYG editing. Inspector labels on this block include “Number of Columns”, “Column Gap (px)”, “Text Alignment”, “Enable Drop Cap”.

Is the Text Columns Gutenberg block free?

Yes. Text Columns ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.

Can I style Text Columns to match my theme?

Yes. Blockenberg’s shared typography and color panels apply here, plus any block-specific style controls listed on this page (panels: Layout, Drop Cap, Column Rule, Pull Quote).

Related layout blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Text Columns from the Gutenberg inserter.

Get Blockenberg