Content · Gutenberg

Highlight Section block for WordPress

Editorial hero section with a giant decorative background word, heading, subtext, and optional CTA button.

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

Editorial hero section with a giant decorative background word, heading, subtext, and optional CTA button.

Inspector panels on this block: Background Word, Content, Layout. Those titles come from index.js, not from a shared template.

Behavior controls: “Background Word Weight” options: Extra Bold (900), Bold (700), Normal (400); “Text Align” options: Left, Center, Right.

Where to find it

Gutenberg inserter → Content → search “Highlight Section” (block name `blockenberg/highlight-section` in block.json). Style it in the sidebar after insert.

How to use Highlight Section block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Highlight Section”, insert it. Category: Content.
  3. Configure inspector controls that exist on this block. Open Background Word. Set “Show Background Word”, “Background Word”, “Background Word Size (px)”, “Background Word Weight”.
  4. Check the published page. The view script reads HTML data attributes: data-opts. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
Show Background WordOn/off toggle in the inspector. On by default. Saved as `showBgWord`.
Background WordText field in the inspector. block.json default: IMPACT. Saved as `bgWord`.
Background Word Size (px)Numeric range control in the inspector. Range 80–600. block.json default: 240. Saved as `bgWordSize`.
Background Word WeightSelect control; the chosen value is saved on the block. Options: Extra Bold (900); Bold (700); Normal (400). block.json default: 900. Saved as `bgWordWeight`.
Show SubtextOn/off toggle in the inspector. On by default. Saved as `showSubtext`.
Show CTA ButtonOn/off toggle in the inspector. On by default. Saved as `showCta`.
CTA LabelText field in the inspector. block.json default: Get Started. Saved as `ctaLabel`.
CTA URLText field in the inspector. block.json default: #. Saved as `ctaUrl`.
Open in New TabOn/off toggle in the inspector. Off by default. Saved as `ctaOpenNewTab`.
Text AlignSelect control; the chosen value is saved on the block. Options: Left; Center; Right. block.json default: center. Saved as `textAlign`.
Colors — BackgroundColor control in the inspector. block.json default: #ffffff. Saved as `bgColor`.
HeadingColor control in the inspector. block.json default: #111827. Saved as `headingColor`.
SubtextColor control in the inspector. block.json default: #4b5563. Saved as `subtextColor`.
CTA BackgroundColor control in the inspector. block.json default: #7c3aed. Saved as `ctaBg`.
CTA TextColor control in the inspector. block.json default: #ffffff. Saved as `ctaColor`.
Background Word ColorColor control in the inspector. block.json default: rgba(0,0,0,0.05). Saved as `bgWordColor`.
Max Width (px)Numeric range control in the inspector. Range 400–1600. block.json default: 880. Saved as `maxWidth`.
Padding Top (px)Numeric range control in the inspector. Range 0–300. block.json default: 100. Saved as `paddingTop`.
Padding Bottom (px)Numeric range control in the inspector. Range 0–300. block.json default: 100. Saved as `paddingBottom`.

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 Highlight Section block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Highlight Section”. It sits under Content. After insert, open Background Word and set “Show Background Word”, “Background Word”, “Background Word Size (px)”, “Background Word Weight”.

What makes Highlight Section different from other Blockenberg blocks?

Editorial hero section with a giant decorative background word, heading, subtext, and optional CTA button. Inspector labels on this block include “Show Background Word”, “Background Word”, “Background Word Size (px)”, “Background Word Weight”.

Is the Highlight Section Gutenberg block free?

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

Can I style Highlight Section 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: Background Word, Content, Layout).

Related content blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Highlight Section from the Gutenberg inserter.

Get Blockenberg