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.
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
- Install Blockenberg. Install from WordPress.org and activate the plugin.
- Insert the block. Edit a page, click +, search for “Text Columns”, insert it. Category: Layout.
- Configure inspector controls that exist on this block. Open Layout. Set “Number of Columns”, “Column Gap (px)”, “Text Alignment”, “Enable Drop Cap”.
- 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
| Control | What the code does |
|---|---|
| Number of Columns | Numeric 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 Alignment | Select control; the chosen value is saved on the block. Options: Left; Justify; Center. block.json default: left. Saved as `textAlign`. |
| Enable Drop Cap | On/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 Rule | On/off toggle in the inspector. On by default. Saved as `showRule`. |
| Rule Style | Select 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 Quote | On/off toggle in the inspector. Off by default. Saved as `showPullQuote`. |
| Pull Quote Text | Multiline text field in the inspector. Saved as `pullQuote`. |
| Pull Quote Position | Select 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 — Background | Color control in the inspector. Saved as `bgColor`. |
| Colors — Text | Color control in the inspector. block.json default: #374151. Saved as `textColor`. |
| Drop Cap | Color control in the inspector. block.json default: #111827. Saved as `dropCapColor`. |
| Column Rule | Color control in the inspector. block.json default: #d1d5db. Saved as `ruleColor`. |
| Pull Quote Border | Color control in the inspector. block.json default: #6366f1. Saved as `pullQuoteBorder`. |
| Pull Quote Text | Color control in the inspector. block.json default: #111827. Saved as `pullQuoteColor`. |
What the front-end script actually does
- The view script reads HTML data attributes: data-opts, data-rendered.
When this is the right block
- Magazine-style multi-column text layout with drop cap, column rule / divider, pull quote spanning all columns and per-column WYSIWYG editing — that is the job of Text Columns, not a generic content block.
- Use it when you need the editor control labeled “Number of Columns”, which exists on this block’s inspector.
- It matches pages about columns, text, magazine.
- Inserter grouping: page structure, sections, and composition.
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
Masonry Grid
Responsive masonry layout for images with hover effects.
Rich Columns
Multi-column layout with icons, headings, rich text, and optional links — ideal for features, benefits, or service descriptions.
Sticky Sidebar
Two-column layout with a rich sticky sidebar — perfect for articles, docs, pricing pages, and long-form content.
Bento Grid
Modern asymmetric bento-box grid with featured large cells and smaller detail cards — perfect for showcasing features, stats, or portfolio highlights.
Breadcrumbs
SEO-friendly navigation trail with Schema.org markup showing the current page hierarchy.
Content Menu
In-page anchor navigation that highlights the current section as the user scrolls — can float fixed on the left or right, or sit inline.
Get Blockenberg
Install Blockenberg from WordPress.org, then insert Text Columns from the Gutenberg inserter.