Make WordPress Core

Opened 16 months ago

Last modified 15 months ago

#55815 new defect (bug)

Twenty-Twenty-Two: Post Format Gallery

Reported by: mukesh27's profile mukesh27 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords: has-screenshots 2nd-opinion
Focuses: ui, css Cc:


Twenty-Twenty-Two does not include gallery columns classes for the frontend. Another default theme has this class and it working fine for them.

.gallery-columns-2 .gallery-item {
	max-width: 50%;

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;

.gallery-columns-4 .gallery-item {
	max-width: 25%;

.gallery-columns-5 .gallery-item {
	max-width: 20%;

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;

Attachments (1)

Post Format_ Gallery – 3 column.png (205.7 KB) - added by mukesh27 16 months ago.

Download all attachments as: .zip

Change History (9)

#1 @nidhidhandhukiya
16 months ago

Hello @mukesh27
Can you please provide steps for reproduce this issue.

#2 @mukesh27
16 months ago

Yes sure.

This ticket was mentioned in Slack in #core-test by ironprogrammer. View the logs.

16 months ago

#4 @poena
16 months ago

@mukesh27 Hi!
Is the intention to support classic content in the full site editing theme?
I have not followed this closely, has there been a decision to do this?
Pinging @jffng who may know.

#5 @ironprogrammer
16 months ago

  • Keywords needs-patch removed

Holding off patch requirement pending further review.

For context raised during <test-triage>, please see

#6 @jffng
15 months ago

Hi there, thanks for the report.

It was decided early on to not add CSS for classic content like post formats to the theme, since this was the first default block theme.

This ticket was mentioned in Slack in #core-themes by ironprogrammer. View the logs.

15 months ago

#8 @sabernhardt
15 months ago

  • Keywords 2nd-opinion added

It's not the Gallery post format, but the Gallery shortcode output. I still can create that with a Classic block, which I remember suggesting to someone who wanted to drag and drop gallery items.

Of course, you may not want to support that either in the theme.

Note: See TracTickets for help on using tickets.