Layout · Gutenberg
Sticky Two Column block for WordPress
One column scrolls through feature highlights; the other stays sticky showing the active image — perfect for product tours and feature pages.
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
One column scrolls through feature highlights; the other stays sticky showing the active image — perfect for product tours and feature pages.
Inspector panels on this block: Layout. Those titles come from index.js, not from a shared template.
Behavior controls: “Sticky Column” options: Right column sticky, Left column sticky; “Column Ratio” options: 50 / 50, 45 / 55, 55 / 45, 40 / 60, 60 / 40.
Where to find it
Gutenberg inserter → Layout → search “Sticky Two Column” (block name `blockenberg/sticky-two-col` in block.json). Style it in the sidebar after insert.
How to use Sticky Two Column block for WordPress
- Install Blockenberg. Install from WordPress.org and activate the plugin.
- Insert the block. Edit a page, click +, search for “Sticky Two Column”, insert it. Category: Layout.
- Configure inspector controls that exist on this block. Open Layout. Set “Sticky Column”, “Column Ratio”, “Sticky Offset from Top (px)”, “Image Border Radius (px)”.
- 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 |
|---|---|
| Sticky Column | Select control; the chosen value is saved on the block. Options: Right column sticky; Left column sticky. block.json default: right. Saved as `stickyPosition`. |
| Column Ratio | Select control; the chosen value is saved on the block. Options: 50 / 50; 45 / 55; 55 / 45; 40 / 60; 60 / 40. block.json default: 50-50. Saved as `splitRatio`. |
| Sticky Offset from Top (px) | Numeric range control in the inspector. Range 0–200. block.json default: 80. Saved as `stickyOffset`. |
| Image Border Radius (px) | Numeric range control in the inspector. Range 0–40. block.json default: 16. Saved as `imageRadius`. |
| Icon Size (px) | Numeric range control in the inspector. Range 20–64. block.json default: 36. Saved as `iconSize`. |
| Gap Between Items (px) | Numeric range control in the inspector. Range 24–200. block.json default: 80. Saved as `gap`. |
| Show Divider Line | On/off toggle in the inspector. On by default. Saved as `showDivider`. |
| Show Progress Bar | On/off toggle in the inspector. On by default. Saved as `showProgressBar`. |
| Padding Top (px) | Numeric range control in the inspector. Range 0–200. block.json default: 0. Saved as `paddingTop`. |
| Padding Bottom (px) | Numeric range control in the inspector. Range 0–200. block.json default: 0. Saved as `paddingBottom`. |
| Section Background | Color control in the inspector. Saved as `bgColor`. |
| Sticky Panel Background | Color control in the inspector. block.json default: #f8f8fc. Saved as `panelBg`. |
| Eyebrow Color | Color control in the inspector. block.json default: #6366f1. Saved as `eyebrowColor`. |
| Title Color | Color control in the inspector. block.json default: #111827. Saved as `titleColor`. |
| Body Text | Color control in the inspector. block.json default: #6b7280. Saved as `textColor`. |
| Icon Background | Color control in the inspector. block.json default: #ede9fe. Saved as `iconBg`. |
| Divider | Color control in the inspector. block.json default: #e5e7eb. Saved as `dividerColor`. |
| Accent | Color control in the inspector. block.json default: #6366f1. Saved as `accentColor`. |
| Eyebrow | Text field in the inspector. |
What the front-end script actually does
- The view script reads HTML data attributes: data-opts, data-rendered.
- An IntersectionObserver starts work when the block enters the viewport.
When this is the right block
- One column scrolls through feature highlights; the other stays sticky showing the active image — perfect for product tours and feature pages — that is the job of Sticky Two Column, not a generic content block.
- Use it when you need the editor control labeled “Sticky Column”, which exists on this block’s inspector.
- It matches pages about sticky, two column, split.
- 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 Sticky Two Column block in WordPress?
Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Sticky Two Column”. It sits under Layout. After insert, open Layout and set “Sticky Column”, “Column Ratio”, “Sticky Offset from Top (px)”, “Image Border Radius (px)”.
What makes Sticky Two Column different from other Blockenberg blocks?
One column scrolls through feature highlights; the other stays sticky showing the active image — perfect for product tours and feature pages. Inspector labels on this block include “Sticky Column”, “Column Ratio”, “Sticky Offset from Top (px)”, “Image Border Radius (px)”.
Is the Sticky Two Column Gutenberg block free?
Yes. Sticky Two Column ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.
Can I style Sticky Two Column 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).
Related layout blocks
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.
Split Hero
Two-column hero section with headline, badge, body text, dual CTA buttons and social proof on one side — image or video on the other. Built for landing pages.
Split Panel
Two-column comparison panel for Before/After, Problem/Solution, or any paired content.
Split Screen
Two-panel side-by-side layout with independent backgrounds, content, and optional scroll-snap.
Bento Grid
Modern asymmetric bento-box grid with featured large cells and smaller detail cards — perfect for showcasing features, stats, or portfolio highlights.
Rich Columns
Multi-column layout with icons, headings, rich text, and optional links — ideal for features, benefits, or service descriptions.
Get Blockenberg
Install Blockenberg from WordPress.org, then insert Sticky Two Column from the Gutenberg inserter.