---
title: Divider
description: "The **Divider** block draws a line between the sections of a page. Pick one of seven styles, paint it with a colour or a gradient, and put a few words or an icon in the line if you like. It…"
url: "https://shapekode.com/product/shapeblock/docs/divider/"
updated: "2026-11-22"
category: Content Block
---

# Divider

The **Divider** block draws a line between the sections of a page. Pick one of seven styles, paint it with a colour or a gradient, and put a few words or an icon in the line if you like. It is free in ShapeBlock.

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

See it in use on the [Divider demo page](https://shapekode.com/product/shapeblock/divider/).

## Turn the block on

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

## Add it to a page

Open a page in the block editor, click the **+** button, search for **Divider** and click or drag the block onto the page. It starts as a thin grey line across the full width.

## Settings tab

### Line

Click a style to use it: **Solid**, **Double**, **Dashed**, **Dotted**, **Wave**, **Zigzag** or **Slashes**. Each button shows a small drawing of the line.

### Text or Icon

- **In the Line**: *None*, *Text* or *Icon*.
- **Text** and its **HTML Tag** (span, p, div or a heading from H2 to H6). You can also click the words right on the block and type over them; bold and italic are kept.
- **Icon**: choose any icon from the icon library.
- **Position**: *Start*, *Center* or *End*. At the start or the end, a single line fills the rest of the width.

## Layout tab

Every setting here can be set for desktop, tablet and phone separately.

- **Width (%)** of the line, and its **Alignment**: left, center or right.
- **Weight (px)**: how thick the line is. It is 1px when not set.
- **Pattern Length** (dashed and dotted) or **Pattern Width** (wave, zigzag and slashes): how long each dash, dot gap or wave is.
- **Space Above and Below** the line, and the **Space Around Text or Icon**.

## Style tab

- **Line**: a colour or a gradient. A gradient follows every style, the wave and the dots included.
- **Text**: colour, typography per device, a background, padding per device and a border radius. With a background and a large radius the text becomes a pill, for example "RSVP by June 1".
- **Icon**: *Default*, *Stacked* (in a filled circle) or *Framed* (in an outlined circle), with its colour, size per device, background, border colour and width, padding and border radius.

## Advanced tab

Margin, padding, background, position and hiding on desktop, tablet or phone, the same as every ShapeBlock block.

## Questions

### Can the line be shorter than the text column?

Yes. Set the **Width (%)** in the Layout tab, for example 20% for a short rule under a heading, and choose the alignment.

### Does the wave look right on phones?

Yes. The weight and the pattern width can be set per device, so a wave or zigzag can be smaller on a phone than on a desktop.
