Skip to content

Column Block: Add More Styling #30753

Closed
Closed

Description

@deborah86

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

Activity

  1. added
    [Block] Columns
    [Type] Enhancement
    on Apr 12, 2021
  2. paaljoachim commented on Jul 12, 2021

    @paaljoachim
    Contributor

    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

  3. andrewserong commented on Jul 13, 2021

    @andrewserong
    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.

  4. skorasaurus commented on Mar 14, 2023

    @skorasaurus
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] Columns[Type] Enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions