Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Column Block: Add More Styling #30753

Closed
deborah86 opened this issue Apr 12, 2021 · 3 comments
Closed

Column Block: Add More Styling #30753

deborah86 opened this issue Apr 12, 2021 · 3 comments
Labels
[Block] Columns Affects the Columns Block [Type] Enhancement A suggestion for improvement.

Comments

@deborah86
Copy link

What problem does this address?

It is difficult to make the column block look nice without using additional CSS.

What is your proposed solution?

Color options for a single column

There are no options to change the color of an entire column. The only option is to change the color of either the blocks within the column or the entire color itself.

image

Ability to Modify the Padding Between Column Elements

image

@paaljoachim
Copy link
Contributor

paaljoachim commented Jul 12, 2021

Hi @deborah86

I noticed you raised two concerns.
Color options for a single column

I just tested using WP 5.8 RC 2
Twenty Twenty One
The Gutenberg plugin version 11.0.0

This is what I see:

Columns-block-adding-color

It looks like "Color options for a single column" has been dealt with.


The Ability to Modify the Padding Between Column Elements.
It looks like @andrewserong has been looking into this through this draft PR: #32137

@andrewserong
Copy link
Contributor

Yes, the color options for a single column task was addressed in: #31778 and there's a follow-up fix for column background colors with vertical alignment that's under review in: #32909

For adding in column gap support, we have a couple of steps before we can reliably get to it. Initially I explored adding in gap support directly to the columns block in #32137, however it turns out we need a more general approach for gap support that will be used across a number of blocks, so that we can better future-proof the feature. The next steps for gap support are tracked in #32366, but are broadly:

I'll continue updating #32366 as we make progress.

@skorasaurus
Copy link
Member

Hi,

This has been implemented through the 'block spacing' capability https://learn.wordpress.org/tutorial/block-spacing/
also known as gap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Columns Affects the Columns Block [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

5 participants