Call to action
The Call to action block closes a page. It has a headline, a short text and up to two buttons, set over a photo or on a dark panel.
In the admin: a page’s Content, block Call to action
What to put in it
Section titled “What to put in it”- Headline is the section’s message.
- Body (leave a blank line between paragraphs) is the short text under it.
- Primary button text and its link make the light button. Secondary button text and its link make the darker one beside it.
- Background image is the photo behind the text.
| Field in the admin | Kind | Notes |
|---|---|---|
| Headline | Short text | Required. |
| Body (leave a blank line between paragraphs) | Text | |
| Primary button text | Short text | |
| Primary button link (starts with /, https://, mailto:, tel: or #) | Short text | |
| Secondary button text | Short text | |
| Secondary button link (starts with /, https://, mailto:, tel: or #) | Short text | |
| Background image | Image | |
| Section ID (lowercase, for links like /#pricing) | Short text |
Change the background photo
Section titled “Change the background photo”- Open the Call to action block.
- Under Background image, select the picture and choose Replace, or remove it and choose a new one.
- Publish the page.
The photo is darkened so the text stays readable. Choose a picture that is calm, without fine detail behind the text.
When a field is empty
Section titled “When a field is empty”- Without a Background image, the block shows on the dark panel. The Pricing page uses it this way.
- Empty button fields mean no button.
- The block needs its Headline before the page can be saved.
Good to know
Section titled “Good to know”- Keep the headline short. It is set in large type.
- The photo is for atmosphere only. Alt text is not needed for it.
- The layout and colours are fixed. Email developer@example.com to change them.