---
title: Call to Action
description: "The **Call to Action** block puts a title, a short line and one or two buttons in a box, to send visitors to the next step: a quote, a sign-up, a call. Add an image, an icon or a background…"
url: "https://shapekode.com/product/shapeblock/docs/call-to-action/"
updated: "2026-11-26"
category: Content Block
---

# Call to Action

The **Call to Action** block puts a title, a short line and one or two buttons in a box, to send visitors to the next step: a quote, a sign-up, a call. Add an image, an icon or a background picture and pick one of six layouts. It is free in ShapeBlock.

[How to Add a Call to Action in WordPress Gutenberg | ShapeBlock Call to Action Block (Free)](https://www.youtube.com/embed/ApNgZ_Z3WP8?feature=oembed)

See it in use on the [Call to Action demo page](https://shapekode.com/product/shapeblock/call-to-action/).

## Turn the block on

1. Go to **ShapeBlock → Blocks**.
2. Search for **Call to Action** and switch it on.

## Add it to a page

Open a page in the block editor, click the **+** button, search for **Call to Action** and click or drag the block onto the page. It starts with a label, a title, a short text and one button. Click any of these texts on the block to type over it.

## Content tab

### Layout

- **Stacked**: the texts and buttons one under the other.
- **Side by Side**: the texts on the left, the buttons on the right.
- **Image Left** and **Image Right**: the image or icon beside the texts.
- **Background Image**: the texts over a picture with a dark overlay. Choose the picture in *Style → Background*.
- **Card**: a centred white card with a soft shadow.

### Image or Icon

Choose *None*, *Image* or *Icon*. For an image, pick it from the Media Library and fill in the **Alternative Text** for people who cannot see it. For an icon, pick one from the icon library.

### Text

- **Label**: a small line above the title, such as "Limited offer". Leave it empty to hide it.
- **Title** and its **HTML Tag** (H1 to H6, P or DIV). Use the tag that fits your page outline; the look stays the same.
- **Description**: one or two short lines. Press Enter for a new line.

### Primary and Secondary Button

- **Show**: the secondary button is off at first.
- **Text** and **Link**. Without a link the button shows as a label that cannot be clicked.
- **Open in a New Tab** and **Add rel="nofollow"**.
- **Style**: *Filled*, *Outline* or *Text* (an underlined link).
- **Icon** and **Icon Position** (before or after the text).

### Link the Whole Box

Add a link here and a click anywhere on the box opens it, with its own new-tab and nofollow settings. The buttons keep their own links on top of it.

### Ribbon

A short word across a top corner, such as *New* or *Save 30%*, on the left or the right. Leave the text empty to hide it.

## Layout tab

- **Alignment**: left, centre or right, for each device.
- **Content Width**: the widest the texts may get, for each device.
- **Minimum Height**, for each device, and **Content Position** (top, middle or bottom) for the stacked, card and background-image layouts.
- **Stack in One Column On**: when the side-by-side and image layouts turn into one column: tablet and mobile, mobile only, or never.
- **Padding**, for each device.
- **Spacing**: between the parts, under the label and title, and between the buttons, for each device.
- **Image**: its width beside the texts, its vertical position (top, middle, bottom or full height), its height for each device and whether it fills the space or shows whole. For an icon, its size.

## Style tab

- **Background**: a colour or gradient, a picture with size, repeat, focal point and attachment, and an overlay colour or gradient with its opacity.
- **Box**: border, corner radius for each device, a shadow and a different shadow on hover, and a **Hover Effect**: lift the box, zoom the picture, or show the picture in gray until the pointer is on it.
- **Label**, **Title** and **Description**: colour and typography for each device. The label can also get a background, which makes it a small pill.
- **Buttons**: typography and padding for each device, corner radius and icon spacing, then text, background and border colours of each button, at rest and on hover.
- **Image**: corner radius. **Icon**: default, stacked or framed, with colour, background, padding and radius.
- **Ribbon**: text and background colour.

## Advanced tab

The same tab as every ShapeBlock block: padding and margin for each device, a background, Position (with offsets and width per device, and z-index), hiding the block on desktop, tablet or mobile, and the other shared options.

## Questions

### Can I use it without any button?

Yes. Switch off both buttons and add a link in *Link the Whole Box*: the whole box becomes the link.

### Does the whole-box link break the buttons?

No. The buttons stay separate links on top of it, so each click goes where you expect, and no link is ever inside another.

### My background picture looks too dark.

Lower the *Overlay Opacity* in *Style → Background*, or choose a lighter overlay colour. Keep enough contrast for the text to stay easy to read.

### Why do the image and text stack on my tablet?

Change *Layout → Stack in One Column On* to *Mobile only* or *Never*.
