coblocks icon indicating copy to clipboard operation
coblocks copied to clipboard

ISBAT Padding stopped working for Group block

Open DimArthur opened this issue 3 years ago • 4 comments

Describe the bug:

Padding stopped working for Group block In post editor all works fine, but on frontend (or preview) group element has no padding. Most recent version where it works fine - 2.19.1

To reproduce:

  1. add group type element
  2. in group settings select any padding option (S,M,L ...)
  3. save and preview
  4. the group don't have padding and classes

Expected behavior:

Display elements with selected padding

WordPress version:

5.9

Gutenberg version:

7.7

DimArthur avatar Feb 05 '22 12:02 DimArthur

Can confirm this, no matter which settings u choose. Tested w/ default themes on WP 5.8.X and WP 5.9.

zitrusblau avatar Feb 09 '22 14:02 zitrusblau

Issue confirmed. It appears to be related to block supports spacing.padding. These controls are only available when the theme has theme supports for spacing enabled as well. For that reason, this issue was not possible to replicate in Go theme and TwentyTwenty but is present in TT1 and TT2.

https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/#spacing https://developer.wordpress.org/block-editor/how-to-guides/themes/theme-support/#spacing-control

AnthonyLedesma avatar Feb 09 '22 18:02 AnthonyLedesma

Hey guys, we have another user reporting this issue: https://wordpress.org/support/topic/padding-for-group-block-not-working/

Any updates?

gdandrija avatar Oct 23 '22 19:10 gdandrija

Padding not visible on previews via Cover, Heading, paragraph, or section blocks. Pleeeeease fix, very frustrating! Currently using Kadence theme but this is basic Wordpress block editor.

trulyvtoogood avatar Oct 24 '22 03:10 trulyvtoogood