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.

Get Blockenberg

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

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Sticky Two Column”, insert it. Category: Layout.
  3. Configure inspector controls that exist on this block. Open Layout. Set “Sticky Column”, “Column Ratio”, “Sticky Offset from Top (px)”, “Image Border Radius (px)”.
  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
Sticky ColumnSelect control; the chosen value is saved on the block. Options: Right column sticky; Left column sticky. block.json default: right. Saved as `stickyPosition`.
Column RatioSelect 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 LineOn/off toggle in the inspector. On by default. Saved as `showDivider`.
Show Progress BarOn/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 BackgroundColor control in the inspector. Saved as `bgColor`.
Sticky Panel BackgroundColor control in the inspector. block.json default: #f8f8fc. Saved as `panelBg`.
Eyebrow ColorColor control in the inspector. block.json default: #6366f1. Saved as `eyebrowColor`.
Title ColorColor control in the inspector. block.json default: #111827. Saved as `titleColor`.
Body TextColor control in the inspector. block.json default: #6b7280. Saved as `textColor`.
Icon BackgroundColor control in the inspector. block.json default: #ede9fe. Saved as `iconBg`.
DividerColor control in the inspector. block.json default: #e5e7eb. Saved as `dividerColor`.
AccentColor control in the inspector. block.json default: #6366f1. Saved as `accentColor`.
EyebrowText field in the inspector.

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 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

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Sticky Two Column from the Gutenberg inserter.

Get Blockenberg