[wp-trac] [WordPress Trac] #64840: Admin Color Scheme Not Applied in Media Modal Inside Elementor Editor

WordPress Trac noreply at wordpress.org
Wed Mar 11 11:40:25 UTC 2026


#64840: Admin Color Scheme Not Applied in Media Modal Inside Elementor Editor
-----------------------------+-----------------------------
 Reporter:  huzaifaalmesbah  |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  General          |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 When opening the WordPress Media Library from the Elementor editor (e.g.,
 using the Image widget), the **'Select Files', 'Select' and other button
 and link  do not use the  admin color scheme**.

 The admin color scheme CSS variables are not loaded in the Elementor
 editor context, so the button colors not display the correct admin color
 scheme. This results in inconsistent UI compared to the standard WordPress
 Media Library in the admin dashboard.

 === Steps to Reproduce:

 1. Go to **Pages → Add New**
 2. Click **Edit with Elementor**
 3. Add an **Image widget**
 4. Click **Choose Image**
 5. The Media Library modal opens
 6. Check the **“Select Files”  or ****“****Select****”**** ****button**

 === Expected Result:
 Media Library should use the **  admin color scheme**.

 === Environment
 - WordPress: 7.0-beta4-61919-src
 - PHP: 8.3.30
 - Server: nginx/1.29.6
 - Database: mysqli (Server: 8.4.8 / Client: mysqlnd 8.3.30)
 - Browser: Chrome 145.0.0.0
 - OS: macOS
 - Theme: Twenty Twenty-Five 1.4
 - MU Plugins: None activated
 - Plugins:
   * Elementor 3.35.6
   * Test Reports 1.2.1

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


More information about the wp-trac mailing list