Skip to content
This repository was archived by the owner on Jun 20, 2025. It is now read-only.
This repository was archived by the owner on Jun 20, 2025. It is now read-only.

Remove All specific alignment CSS from block based themes and replace them with layout confings #234

@youknowriad

Description

@youknowriad

Now that this PR WordPress/gutenberg#29335 landed on Gutenberg. Any theme with an experimental-theme.json will be impacted.

Here are the changes that need to be made for these themes If they do support "wide/full" alignments:

  • Remove the old theme support flag.
  • Remove all alignments CSS from your theme's CSS files.
  • Define the default "layout" config in theme.json (this is going to be used as a default layout style for the post editor). and update the FSE templates to inherit the default layout where necessary.

Follow #233 as an example of how to do that

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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