Spacer Block

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.

Add Spacer Block

Block Toolbar

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
Spacer Block Toolbar

Transform to:

Transform options for Spacer Block

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.

Drag icon:

Drag icon in the Spacer block

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.

Move arrows:

Move arrows in the Spacer block

The up and down arrow icons can be used to move a block up and down in your document.

Detailed instructions on moving a block within the editor can be found here

More Options

The more options extend the options on a block toolbar. Giving you more features to be able to customize your block further. Click Here to learn more about More Options.

Top ↑

Block Settings

Spacer Block Settings Panel

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.

Spacer Settings

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.

Height setting in the Spacer block

Advanced

The “Advanced” tab lets you add HTML anchor and CSS class(es) to your block.

The advanced section lets you add HTML anchor and a CSS class 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.

Top ↑

Changelog

  • 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?