Title: Yours59 responsive spacings for core blocks
Author: larslo
Published: <strong>August 9, 2022</strong>
Last modified: August 18, 2022

---

Search plugins

![](https://ps.w.org/yours59-responsive-spacings-for-core-blocks/assets/banner-772x250.
png?rev=2768298)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/yours59-responsive-spacings-for-core-blocks/assets/icon-256x256.
png?rev=2768298)

# Yours59 responsive spacings for core blocks

 By [larslo](https://profiles.wordpress.org/larslo/)

[Download](https://downloads.wordpress.org/plugin/yours59-responsive-spacings-for-core-blocks.1.0.2.zip)

 * [Details](https://wordpress.org/plugins/yours59-responsive-spacings-for-core-blocks/#description)
 * [Reviews](https://wordpress.org/plugins/yours59-responsive-spacings-for-core-blocks/#reviews)
 *  [Installation](https://wordpress.org/plugins/yours59-responsive-spacings-for-core-blocks/#installation)
 * [Development](https://wordpress.org/plugins/yours59-responsive-spacings-for-core-blocks/#developers)

 [Support](https://wordpress.org/support/plugin/yours59-responsive-spacings-for-core-blocks/)

## Description

The wordPress standard Gutenberg Sidebar \”Dimensions\” panel, does not give good
control over spacings, since it only allows us to set \’fixed\’ spacings (with units\”%\”,\”
rem\”,\”vh\”,\”vw\”,\”px\”,\”em\”). Additionally I wanted to have options to change
the spacings for different screen size and have negative values possible ( e.g. 
removing a block-gap (`--wp--style--block-gap`) in certain scenarios).
 Therefor
I made this little plugin: I wanted to map the spacing set in editor to my CSS Custom
Property (CSSCP) (`--size`). Hope this might be helpful for some others out there.

## Screenshots

[[

## Installation

 1. Upload the plugin files to the `/wp-content/plugins/yours59-spacings-for-core-blocks`
    directory, or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin via the \’Plugins\’ screen in WordPress
 3. You should see a panel in gutenberg inspector named \”Custom Spacings\”

## FAQ

Margins are not shown in editor?
 Margins will not be shown perfectly in editor.
But in frontend they are supposed to work.

I get _\”This block contains unexpected or invalid content.\”_. What can I do ?

Be aware that installing this plugin, playing around with it and then uninstall 
it, will show _\”This block contains unexpected or invalid content.\”_ on the blocks
you changed. No worries: Pressing _Attempt Block Recovery_ will work. There is no
manipulation of existing classes or attributes. Plugin only injects some inline 
styles.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Yours59 responsive spacings for core blocks” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ larslo ](https://profiles.wordpress.org/larslo/)

[Translate “Yours59 responsive spacings for core blocks” into your language.](https://translate.wordpress.org/projects/wp-plugins/yours59-responsive-spacings-for-core-blocks)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/yours59-responsive-spacings-for-core-blocks/),
check out the [SVN repository](https://plugins.svn.wordpress.org/yours59-responsive-spacings-for-core-blocks/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/yours59-responsive-spacings-for-core-blocks/)
by [RSS](https://plugins.trac.wordpress.org/log/yours59-responsive-spacings-for-core-blocks/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.0.2**
 *  Last updated **4 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.0.0 or higher **
 *  Tested up to **6.0.12**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [block-editor](https://wordpress.org/plugins/tags/block-editor/)[blocks](https://wordpress.org/plugins/tags/blocks/)
   [gutenberg](https://wordpress.org/plugins/tags/gutenberg/)[gutenberg blocks](https://wordpress.org/plugins/tags/gutenberg-blocks/)
 *  [Advanced View](https://wordpress.org/plugins/yours59-responsive-spacings-for-core-blocks/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/yours59-responsive-spacings-for-core-blocks/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/yours59-responsive-spacings-for-core-blocks/reviews/)

## Contributors

 *   [ larslo ](https://profiles.wordpress.org/larslo/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/yours59-responsive-spacings-for-core-blocks/)