columns-{columns} class no longer applied to Query Loop / Post Template #51346
Labels
[Block] Post Template
Affects the Post Template Block
[Block] Query Loop
Affects the Query Loop Block
[Type] Regression
Related to a regression in the latest release
With the change from Flex to the Grid layout with the Query Loop + Post Template blocks in #49050, the
columns-{columns}
class was removed here. This means that theme authors can no longer target queries via custom block styles based on the column number.Previously, the Post Template block's output would look something like this for a three-column layout:
Today, it looks like this:
The new gap support is much needed, so I don't think this needs to be reverted. We just need to add the
columns-{columns}
class back in unless there is a technical reason not to do so (didn't see this mentioned anywhere in the PR).The text was updated successfully, but these errors were encountered: