Gutenberg’s Custom Spacing Should Be Theme Controlled – WordPress Tavern

Adjusting padding on a Group block.

When Gutenberg 9.0 landed earlier this week, it came with an experimental padding control for the Group block. Most users will not see it unless their theme has opted into supporting the feature using the experimental-custom-spacing flag.

This was not the first that we have seen of the padding option on a block. Gutenberg 8.3 introduced it for the Cover block. Since then, nothing has changed with the implementation.

The problem with the custom spacing/padding option is that it creates an inline style that does not adjust based on the design…

More Info


Check Also

Don’t Launch a WordPress Site Before You Go Through This 17-Step Checklist

Raise your hand if you work on your WordPress website every day. 🙋‍♀️ Keep it …

Leave a Reply

Your email address will not be published. Required fields are marked *