跳到内容

Yours59 responsive spacings for core blocks

v1.0.2

larslo · 2022年8月9日 上架

Plugin provides an Panel for Gutenberg Inspector which allows you to set responsive spacing (margin, padding) for all core blocks.

正在使用
10 以下
评分
暂无
累计下载
1,008
最近更新
2022年8月18日
需要 WordPress 5.0.0+已测试到 6.0.19PHP 7.4+

贡献者

截图

Yours59 responsive spacings for core blocks

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums