Skip to content

Group block: can't easily set a fixed width #72545

Open

Description

@davewhitley

What problem does this address?

It is very difficult and frustrating to make a simple circle shape using the editor. Take this example:

Image

This is a simple Stack block with a background set to green and border radius set to 999. There are a couple of workarounds to set the width of the Stack block, but none are easy to understand.

  1. Group the Stack block and set the content width to a px value. Select the Stack block and set the min height to a px value to set the height.
  2. Use the Columns block to put the Stack block in a column and set the column width to a px value. Select the Stack block and set the min height to a px value to set the height.

I shouldn't have to group my circle element in a Group block, and I shouldn't have to understand/manipulate the "inner blocks use content width" setting to set a px width on an element.

Both of these workarounds are convoluted for a such a simple and fundamental part of web design — being able to set a px width on an element.

What is your proposed solution?

I expected to see a width setting in the Dimensions panel.

Image

It's nice that we have min height there, but I would have preferred height.

Activity

  1. added
    [Type] Enhancement
    on Oct 21, 2025
  2. added
    [Block] Group
    on Oct 21, 2025
  3. andrewserong commented on Nov 27, 2025

    @andrewserong
    Contributor

    Just to note that there is a width block support under development and slated for WP 7.0. The initial support for it landed in #71905. No blocks have been opted-in to the support just yet as there are still follow-up tasks for the block support (i.e. those listed here: #71905 (comment)). But this will be a feature to follow for this kind of use case.

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] Group[Type] Enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions