Hi guys,
Could you consider to add columns block gutter size option so we can be able to set space between columns item?
Possible solution:
$columns-gutter-label: ('no', 'normal', 'large');
$columns-gutter-size: (0, 15, 25);
.wp-block-columns {
@for $i from 0 to length($columns-gutter-label) {
&.#{nth($columns-gutter-label,$i+1)}-gutter {
$gutter-size: nth($columns-gutter-size, $i+1);
@if ($gutter-size != 0) {
margin: 0 -#{$gutter-size}px;
> .wp-block-column {
padding: 0 #{$gutter-size}px;
}
}
}
}
}
.wp-block-columns.normal-gutter {
margin: 0 -15px;
}
.wp-block-columns.normal-gutter > .wp-block-column {
padding: 0 15px;
}
.wp-block-columns.large-gutter {
margin: 0 -25px;
}
.wp-block-columns.large-gutter > .wp-block-column {
padding: 0 25px;
}
Best regards,
Nenad
There has been some work in #10541 to refactor margins and padding in the columns block. I would like to close this issue in light of that work. If you are able to help test this update (4.1 is currently available for pre-release testing as of Oct 19), please let me know if the update does not solve the underlying problem for you and if you still need help adjusting spacing between columns. If you prefer to wait for the official 4.1 release, that is okay too as it should be released soon.
I would like to have this issue implemented as well.
+1 to this! Right now, the columns block is unfortunately unusable at times due to the large margins that we can't control.
Thank you for re-opening this...
Reopened for consideration, but keep in mind that doesn't mean it will for sure get approved. It might turn out to be something recommended as a plug-in not as part of the core options. For cases like this, it would help to include a screenshot showing the problem that you are facing so it's very clearly visible. It would also be good to note the name of the theme you are using, in case there's a problem can possibly be traced back to certain themes.
It is not actually a problem, but a feature suggestion to:
Just to add a visual example,
I often wish the block has gutter size control to make a design like this example.
Currently, this is impossible to do with the column block as it always adds gutters.
I don't believe that abstracted presets alone would satisfy various needs. As @richtabor mentioned here, a custom
option where the user can add a specific value would be really valuable.
possible overlap with https://github.com/WordPress/gutenberg/issues/9296
Most helpful comment
It is not actually a problem, but a feature suggestion to: