[wp-trac] [WordPress Trac] #53564: Twenty Twenty-One: Consider adding block-templates support

WordPress Trac noreply at wordpress.org
Tue Jul 6 18:39:42 UTC 2021


#53564: Twenty Twenty-One: Consider adding block-templates support
---------------------------+------------------------------
 Reporter:  kjellr         |       Owner:  (none)
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+------------------------------

Comment (by kjellr):

 Thanks for testing, @poena!

 The PR now includes the following fixes:

 - The title and tagline are centered (thanks, I forgot that's how the
 theme handles this!)
 - The font weight of the post title matches the weight used in our usual
 templates.
 - The meta is now the same size it is for the usual templates.
 - The margins/spacing in the front end now match the usual templates more
 exactly.
 - Separator blocks now appear the correct width.

 There's still a bunch of extra vertical spacing in the editor (around
 group blocks for example), but that's a broader issue that I think we
 should tackle outside of this PR... I'm not sure it makes sense to add a
 bunch of aggressive CSS to change it just for the header section of this
 specific layout.

 I took a look at the dark mode situation, and it looks... complicated.
 This is something that I'd need additional help building, and I think it
 would end up being substantial enough that it could be handled in a
 separate patch.

 Dark mode aside, this feels pretty close to a decent v1 to me.

 Here are some current screenshots:

 Editor:
 [[Image(https://cldup.com/iwwDZ3Jhb8.png)]]

 Front-end:
 [[Image(https://cldup.com/CQ0Hbh2QZE.png)]]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53564#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list