[wp-trac] [WordPress Trac] #62010: Twenty Twelve: Add title size is very low.
WordPress Trac
noreply at wordpress.org
Mon Sep 9 13:42:43 UTC 2024
#62010: Twenty Twelve: Add title size is very low.
---------------------------------------+------------------------------
Reporter: dilip2615 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: has-patch has-screenshots | Focuses: css
---------------------------------------+------------------------------
Changes (by sabernhardt):
* keywords: needs-design has-patch has-screenshots => has-patch has-
screenshots
* version: 6.6.1 =>
* component: General => Bundled Theme
Comment:
The post title `font-size` should remain as it is on the front: the `rem`
equivalent of `20px` for small screens, `22px` for screens wider than 600
pixels. It is very late to change that in a 12-year-old theme.
In the (iframe) editor, the size equals 21 pixels, which is a minor
mismatch. However, the `editor-blocks.css` file had defined styles to
match the front with now-obsolete selectors such as `.editor-post-
title__block .editor-post-title__input`. The `font-weight` is a more
noticeable difference than the size.
The patch adds selectors that fit the current editor. Some of the proposed
updates are not necessary within the iframe, but the non-framed version
would use them. I also kept the original selectors for anyone with a
WordPress 5.x site.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62010#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list