[wp-trac] [WordPress Trac] #56193: Twenty Twenty: font size issue in Post Title block

WordPress Trac noreply at wordpress.org
Tue Jul 12 16:12:43 UTC 2022


#56193: Twenty Twenty: font size issue in Post Title block
---------------------------+------------------------------
 Reporter:  kajalgohel     |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  5.9
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:  ui, css
---------------------------+------------------------------
Changes (by sabernhardt):

 * version:  6.0 => 5.9


Comment:

 The `.editor-styles-wrapper .wp-block-post-title` selector used to fix the
 title in r52271 does not factor in the possibility that someone would
 insert a Post Title block in this theme and set it to a lower heading
 level.

 If supporting this full site editing block in a non-block theme is
 important, I don't know whether specifying the level in `.editor-styles-
 wrapper h1.wp-block-post-title` or removing that selector would be better
 for these font styles. The centering could be worth keeping as it is.

 (Setting Wide of Full width wraps the post title block in a `.wp-block`
 class, but the `.wp-block` class needs to be removed from heading
 selectors for proper styling in expected use cases—see #56194.)

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


More information about the wp-trac mailing list