[wp-trac] [WordPress Trac] #57971: Twenty Twenty-Three: Can't update site title font size in Marigold, Whisper styles

WordPress Trac noreply at wordpress.org
Wed Mar 22 17:02:13 UTC 2023


#57971: Twenty Twenty-Three: Can't update site title font size in Marigold, Whisper
styles
---------------------------+-----------------------------
 Reporter:  ryelle         |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 If you switch to one of these two styles, setting a font size on the Site
 Title block no longer works.

 I believe this is due to the `fontSize` set on the `core/site-
 title.elements.link.typography` in the variation JSON. The font size set
 on the block changes the element itself, but `.wp-block-site-title
 a:where(:not(.wp-element-button))` is set by that JSON value and takes
 precedence.

 This might be intentional for the design, but it was still unexpected.

 -----

 To reproduce:

 1. Open the site editor, get to the Styles sidebar
 2. Choose the Marigold or Whisper styles in Twenty Twenty-Three
 3. Switch back to the block sidebar, select the Site Title block
 4. Open styles, edit the font size
 5. The block outline changes, but the text itself does not

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57971>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list