[wp-trac] [WordPress Trac] #63589: Unable to live preview changes to Additional CSS in the Customizer when using a Block Theme

WordPress Trac noreply at wordpress.org
Mon Jul 7 10:15:41 UTC 2025


#63589: Unable to live preview changes to Additional CSS in the Customizer when
using a Block Theme
--------------------------+--------------------------
 Reporter:  westonruter   |       Owner:  westonruter
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  6.8.2
Component:  Customize     |     Version:  6.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------------

Comment (by wildworks):

 If applying this patch, I believe custom CSS added via the global styles
 will no longer be applied to the Customizer preview.

 === Steps to Reproduce

 - Activate Twenty Twenty-Five theme
 - Go to Appearance > Editor > Click the canvas > Click the "Styles" button
 > Click the "More" elipsis button >  Click the "Additional CSS" menu item
 - Add the following CSS: `body { color: red; }`
 - Click the save button
 - Check the front end. The text color is red
 - Open the Customizer: http://localhost:8889/wp-admin/customize.php
 - The text color is black

 I feel like maybe special handling is needed only for block themes and
 customizer previews.

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


More information about the wp-trac mailing list