Make WordPress Core

#55090 closed feature request (invalid)

No custom CSS in Twenty Twenty Two

Reported by: tylertork's profile TylerTork Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.9
Component: Customize Keywords:
Focuses: Cc:


There seems to be no way in Twenty Twenty-two theme to create custom style rules. This is a really essential feature to make a theme useful. I know I can define a child theme but that's a pain.

Change History (4)

#1 @joyously
22 months ago

This is not specific to Twenty Twenty-two, but for all block themes. It was argued quite a bit.
Two things that I don't know were mentioned in the discussion:

  • The Customizer should be able to show a preview of the site even using a block theme, and it shouldn't hurt anything to have that available. The Site Editor could be reached from a prominent link in the Customizer. (instead of hiding Customizer) This would maintain all the non-theme option availability and the ease of switching themes with preview.
  • There are options in the post editor for blocks, for adding a class, but no longer anywhere to add the styles for that class, when using a block theme. This is quite limiting.

#2 @dlh
22 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Severity changed from major to normal
  • Status changed from new to closed

As noted in comment:1, this is the expected behavior when using a block theme like Twenty Twenty-Two. If a child theme doesn't suit your needs, the links to the Customizer in the admin can also be restored with a plugin that hooks into the `customize_register` action, even a one-liner such as add_action( 'customize_register', '__return_null' );.

#3 @TylerTork
22 months ago

  • Resolution invalid deleted
  • Status changed from closed to reopened

For many millions of WordPress users, creating a child theme will NEVER suit their needs. The audience for TRAC is mostly developers, and it's easy to fail to consider the needs of the vast majority of people trying to use WordPress, who have no idea how nor willingness to write a line of code. These are the people I work with every day, and for these people, Full Site Editing in its current incarnation is a step backwards in terms of getting the site to look the way they want.

I understand this is "working as designed". I feel the design is flawed.

#4 @dlh
22 months ago

  • Resolution set to invalid
  • Status changed from reopened to closed

These points are all reasonable. However, to me, they still represent a position about full site editing, not about Twenty Twenty-Two specifically or the Customizer, which is why, in my opinion, a ticket in the Customize component isn't the right forum for a discussion of your comments. I'd instead suggest sharing your experience in the Gutenberg repo, where an "additional CSS" option for block themes is under consideration, but feel free to reopen this ticket if you disagree.

Note: See TracTickets for help on using tickets.