Skip to content

Breadcrumbs block: Add option to center items #76739

@jonashellwig

Description

@jonashellwig

Description

The new breadcrumbs-block does not have an option to center the items.

It is possible to get centered breadcrumbs by wrapping them in a stack with centered alignment, but this workaround does not fit the expected behavior, because other blocks (heading etc.) have alignment options.

Image

Step-by-step reproduction instructions

  1. Add breadcrumbs block
  2. try to center breadcumb-items without wrapping the block in a stack.

Screenshots, screen recording, code snippet

No response

Environment info

  • WordPress 7 beta 5

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions