Flexible Spacer Block


Flexible Spacer Block switches the height of the spacer according to the device screen width (breakpoints).
This block has two variable breakpoints, and you can adjust the height of the spacer for smartphones, tablets, and desktops respectively.
The height of the spacers can be changed individually or in batches.
Also available to set «negative space (negative margin)» instead of the normal space.
And this block supports transform from and to core spacer block.

About negative space

«Negative space» narrows the margins both blocks above and below the spacer, and it is also possible to overlap the blocks.
If unintended overlap occurs, add a CSS class named «fsb-style-show-front» to the block you want to show in the front.
To apply the CSS class to the block, click on the block on WordPress editor, and check the block settings on the right for the Advanced setting ,then enter the CSS class.


Image for screenshot

License: CC0 Public Domain
Source: https://pxhere.com/ja/photo/245


  • On Block Editor
  • Setting page
  • Negative space example
  • Negative space example


Denne utvidelsen gir 1 blokk.

  • Flexible Spacer Add white space between blocks and customize its height for each device.


  1. Upload the flexible-spacer-block folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the \’Plugins\’ menu in WordPress.


What filters can I use?

You can find a list of the available filters in the Github readme.


23. april, 2022
Thank you very much for creating this awesome plugin. Love the plugin's simplicity and ease of use!
20. juli, 2021
I had a problem with the standard Spacer Block, wherein it breaks the format in mobile in our website. With Flexible Spacer, I can designate the size of the space per mobile device! Awesome, thank you for developing this plugin.
28. januar, 2021
スペーサーだけに絞ったブロック、とてもありがたいです。 UIもわかりやすく、使いやすいと思います。 素晴らしい!!!
28. januar, 2021
設定画面がとてもシンプルで使いやすいです。 ブレークポイントが1つの場合と、2つの場合両方考慮されているのがありがたいです。
Les alle 5 vurderinger

Bidragsytere og utviklere

“Flexible Spacer Block” er programvare med åpen kildekode. Følgende personer har bidratt til denne utvidelsen.


“Flexible Spacer Block” har blitt oversatt til 1 språk. Takk til oversetterne for deres bidrag.

Oversett “Flexible Spacer Block” til ditt språk.

Interessert i utvikling?

Bla gjennom koden, sjekk ut SVN-repositoriet, eller abonner på utviklingsloggen med RSS.



  • Tested to WordPress 6.0
  • Update: Minify inline styles
  • Add: filter hooks
  • Update: block icon
  • Update: author name
  • Fix: CSS files are not loaded in the iframe editor on WordPress 6.0


  • Change: Ensure minimum height of the block
  • Change: Minimum value of the spacer
  • Fix: Unable to change the height of spacer in WordPress 5.9.1


  • Clean: Remove unnecessary file included in the release


  • Fix: Wrong text domain


  • Tested to WordPress 5.9
  • Add: Block control to change responsive view
  • Change: Scripts handle name
  • Change: dashicons to @wordpress/icons
  • Remove: load_plugin_textdomain function


  • Clean: Update npm packages and run a lint check


  • Clean: Update npm packages
  • Remove: Bundled language files


  • Tested to WordPress 5.8
  • Clean: Update npm packages


  • Fix: build script error
  • Fix: README.md screenshot


  • Tested to WordPress 5.7
  • Clean: Update deploy flow (github actions)
  • Clean: Update npm packages and organize development env


  • Tested to PHP 8


  • Fix: Problem about plugin configuration values are not deleted upon uninstallation


  • Fix: Problem about uninstallation error in PHP 8


  • Add: Description about negative space


  • Add: Negative space setting


  • Initial release