WordPress Block Editor – Separator Block
This tutorial is part of our series WordPress Gutenberg: The Ultimate Guide For Non-Technical WordPress Users.
- To learn more about using the WordPress block editor interface, go here: The WordPress Block Editor – Content Area
- To learn more about using blocks, see this tutorial: How To Use WordPress Block Editor Blocks
Separator Block – Description
The Separator block lets you break your content sections with a horizontal separator.
How To Use The Separator Block
In this section, we’ll cover:
- How to add a Separator block to your content.
- How to edit and configure your Separator block and block settings.
- How to remove the Separator block from your content.
For more details on using blocks (e.g. how to move blocks around your content), see this tutorial: How To Use Blocks.
Adding A Separator Block
To add a Separator block to your content:
- Select a place in your content to add a horizontal separator (i.e. before or after), then either:
- Use the tools in the Separator Block Editor or Block Settings section to resize, edit, format, or customize your separator element.
Let’s go through the above steps.
First, create a new post or page or open an existing post or page and either:
Click on the Add Block tool and select a Separator block…
Or, select a Separator block using the Inserter tool in the Content Area.
Either of the above methods will add a Separator block to your content.
After adding a horizontal separator, you can:
- Edit your block’s settings,
- Save, publish, or update your post or page.
How To Edit A Separator Block
To edit a Separator block:
- Click inside the Separator block to select it, then:
- Use the Block Editor tools to change the style or alignment of the horizontal separator, or
- Use the Block Settings to change the style of the horizontal separator.
The active theme installed on your site controls the Separator block’s default separator line and available styles.
For example, the Separator block for the theme used in the screenshot below adds a short line to content by default.
The theme’s optional styles also include a wide horizontal line.
And a dotted line too.
You can change the color of your separator lines using the Separator block’s color settings.
Remember to update and publish your post or page to save your settings.
How To Remove A Separator Block
To delete or remove a Separator block from your content:
- Click inside the Separator block to select it.
- Select the ‘More Options’ tool in the Block Editor.
- Click on ‘Remove block’.
- This will remove the Separator block from your content.
- You can reposition your block using the ‘Move Up’ and ‘Move Down’ arrows or the Drag and Drop handle tool (if you need help with this step, see our tutorial on How To Use Blocks).
- You can also convert a Separator block into a Reusable block.
Separator Block Tools, Options & Settings
The Separator block includes tools, options, and settings for:
- Separator Block Editor
- Separator Block Settings
Separator Block Editor
The Separator Block Editor displays:
- Change Block Type (See ‘Separator Block – Additional Info’ section below.)
- Drag & Drop Tool
- Move Up and Down Tool
- Change Alignment Tool
- Align center
- Wide width – makes the block stick out on either side of regular content.
- Full width – makes the block stretch over the entire width of the browser window (regular content remains within margins on either side).
- More Options – See How To Use Blocks to learn how to use this section.
Separator Block Settings
Separator block settings include:
- Block description area
- Styles -The styles displayed in this section depend on the theme and plugins installed on your site. For example, short line, wide line, thick line, dots, etc.
- Default Style – Use the drop-down menu to select a default style for the block.
- Color Settings – Select from the preset color palette or add a custom color using hexadecimal or RGB values. Click the Clear button to restore the default text color.
- Advanced Settings
- HTML Anchor – Create a unique web address to send users directly to this block using a unique jump link URL. To learn more about using HTML Anchors, see our tutorial on How To Use Blocks.
- Additional CSS Class(es) – This field lets you add multiple CSS classes to your block separated with spaces. This allows you to write custom CSS and style the block as you see fit. Note: This requires having knowledge of CSS (Cascading Style Sheets).
Separator Block – Additional Info
You can convert a Separator block into the following block types:
Alternatively, you can select different separator styles by clicking on the ‘Change block type or style’ feature and choosing another separator option in the Styles section.
Congratulations! Now you know how to use the WordPress content editor’s Separator block.
To learn how to use other blocks, go here: WordPress Block Editor – How To Use Blocks
"Learning WordPress has been a huge stumbling block for me. I've been looking for something that covers absolutely everything but doesn't cost an arm and a leg. Thank you so much ... you have just provided me with what I have been looking for! Truly appreciated!" - Tanya
We are not affiliated, associated, sponsored, or endorsed by WordPress or its parent company Automattic. This site contains affiliate links to products. We may receive a commission for purchases made through these links.