Make .wp-block-post stylable via theme.json #39599
Labels
[Block] Post Template
Affects the Post Template Block
[Block] Query Loop
Affects the Query Loop Block
[Feature] Themes
Questions or issues with incorporating or styling blocks in a theme.
[Type] Enhancement
A suggestion for improvement.
Problem
I can style various aspects of the Query Loop block via theme.json.
E.g. core/post-template styles .wp-block-post-template, core/post-title styles .wp-block-post-title, etc.
However, core/post doesn't style .wp-block-post.
.wp-block-post is the container of each post outputted by the Query Loop block, i.e., it contains each post's title, featured image, date, excerpt, etc.
Proposed Solution
Please make .wp-block-post stylable via theme.json like the elements it's within and elements within it.
Currently, I'm limited to styling .wp-block-template via style.css. One of the downsides of this is that the style doesn't apply in the editor.
core/post isn't a block in the sense that it can be selected and edited via the editor.
The text was updated successfully, but these errors were encountered: