If you want to have a space between two blocks, the spacer block is what you will use.
In this video, you can see how you can use the spacer block and the different settings to modify it.
To add an spacer block, click on the Add Block icon.
You can also type /spacer and hit enter in a new paragraph block to add one quickly.
In order to reveal the block toolbar, you can click on the block and the toolbar will display.
Every block comes with unique toolbar icons and blocks specific user controls that allow you to manipulate the block right in the editor.
The Spacer block shows four buttons in the block toolbar:
- Transform to
- Drag icon
- Move arrows
- More options
When you click on the “Transform” button you can convert the Spacer block into a “Columns” block or “Group” block. The “Group” would give you the ability to change the background color.
To drag and drop the block to a new location on the page template, click and hold the rectangle of dots, then drag to the new location. The blue separator line indicates where the block will be placed. Release the left mouse button when you find the new location to place the block.
The up and down arrow icons can be used to move a block up and down in your document.
Get more information about moving a block within the editor.
Read about these and other settings.
Every block has specific options in the editor sidebar in addition to the options found in the block toolbar. If you do not see the sidebar, simply click the ‘cog’ icon next to the Publish button.
The Height setting adjusts the height of the space you want to add by typing the number. You can change the unit for Height by clicking on PX to display a dropdown with the other supported units- PX, EM, REM, VW, and VH.
The “Advanced” tab lets you add HTML anchor and CSS class(es) to your block.
“HTML anchor” allows you to make a unique web address for a particular “Shortcode” block. Then, you’ll be able to link directly to a “Shortcode” block of your page.
The “Additional CSS class(es)” lets you add CSS class(es) to your block, allowing you to write custom CSS and style the block as you see fit.
- Updated 2022-11-25
- Removed redundant content
- Added alt text
- Aligned images for mobile view
- Update 2022-03-21
- Updated all screenshots to WordPress 5.9
- Update 2021-06-22
- Updated more options block
- Updated 2020-09-28
- Updated 5.5 screenshots
- Updated the block toolbar
- Updated the block settings
- Created 2019-03-07
Was this article helpful? How could it be improved?
Log in to submit feedback. If you need suppport with something that wasn't covered by this article, please post your question in the support forums.