[wp-trac] [WordPress Trac] #63700: Backport Global Styles: Make Button element inherit all typography styles on the frontend

WordPress Trac noreply at wordpress.org
Tue Jul 15 10:36:54 UTC 2025


#63700: Backport Global Styles: Make Button element inherit all typography styles
on the frontend
--------------------------------+-----------------------------
 Reporter:  shreya0shrivastava  |      Owner:  (none)
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Editor              |    Version:
 Severity:  normal              |   Keywords:
  Focuses:                      |
--------------------------------+-----------------------------
 Buttons with the `wp-element-button` class are missing key typography
 styles—`font-style`, `text-transform`, `letter-spacing`, and `font-
 weight`—on the frontend, even when these are defined at the root level in
 Global Styles.

 **Steps to Reproduce:**

 1. Activate Emptytheme (or a theme where button styles aren't overridden).
 2. Go to Site Editor → Global Styles → Typography → Text → Update all
 styles.
 3. Insert a Search block.
 4. Check the frontend — the above styles are not applied to the button.

 **Expected:**
 Styles should match what’s shown in the editor.

 **Actual:**
 Styles like `font-style` and `font-weight` are missing on the frontend.

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


More information about the wp-trac mailing list