Skip to main content

Call to Action

A heading, a message and a button — the standard conversion band that sits between sections.

The block renders through the call_to_action element — the same PHP that runs in the page builder, so the front end is identical either way.

What the sidebar exposes

OptionWhat it does
titleHeading
messageSupporting text
button_labelButton text
button_linkWhere it goes
button_targetOpen in a new tab
column_splitHow the text and button divide the row
box_styleBox / border preset
bg_colorBackground
title_colorHeading colour
message_colorMessage colour
font_size_presetText size preset

Anything not listed stays available in the page builder, and round-trips untouched — the block only writes the values you change, so an element styled in the builder keeps every setting this sidebar does not show.

note
column_split offers only whole, allowed fractions

It is a column-split option. The control shows the allowed splits in lowest terms1/2, 1/3, 5/12 — because that is how they are stored, and offering 6/12 would mean the click was silently rewritten to 1/2 on save.

Check the split at the real width

The ratio is of the row, and the canvas column is rarely the width the row will finally have.

Margin and padding come from Gutenberg

The block declares core spacing support, so the element's own spacing option is not exposed here — use the Dimensions panel at the top of the sidebar.