Opened 8 weeks ago
Closed 7 weeks ago
#64720 closed defect (bug) (fixed)
Empty gray theme-actions div on Appearance > Themes for classic themes with no customizer support
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 7.0 | Priority: | normal |
| Severity: | minor | Version: | trunk |
| Component: | Themes | Keywords: | has-screenshots admin-reskin has-patch commit |
| Focuses: | css | Cc: |
Description
If a Classic/Hybrid theme that has the Customizer disabled is active in the Appearance > Themes screen, there is a stray gray box in the bottom right corner of theme's box.
This appears to be because there is an empty div <div class="theme-actions"> </div> that has corresponding CSS to add a gray background and some padding.
For most themes, there is a Customize button there. It would be great if this div was removed or they styles were changed if it was empty of buttons.
I can see this issue in 6.9, but it is much more noticeable in 7.0 Beta 1 because the background color for the active h2.theme-name has been changed from dark gray #1d2327 to bright blue #3858e9
Attachments (1)
Change History (11)
#1
@
8 weeks ago
- Component changed from General to Themes
- Focuses css added
- Keywords has-screenshots needs-patch admin-reskin added
- Milestone changed from Awaiting Review to 7.0
- Type changed from enhancement to defect (bug)
This ticket was mentioned in PR #11121 on WordPress/wordpress-develop by @joedolson.
7 weeks ago
#3
- Keywords has-patch added; needs-patch removed
Changes the active theme actions panel to have no background color to avoid possibility of empty background.
Trac ticket: https://core.trac.wordpress.org/ticket/64720
## Use of AI Tools
@joedolson commented on PR #11121:
7 weeks ago
#4
@huzaifaalmesbah commented on PR #11121:
7 weeks ago
#5
#6
@
7 weeks ago
Test Report
Patch tested: https://github.com/WordPress/wordpress-develop/pull/11121
Environment
- WordPress: 7.0-beta2-61809
- PHP: 8.3.30
- Server: PHP.wasm
- Database: WP_SQLite_Driver (Server: 8.0.38 / Client: 3.51.0)
- Browser: Chrome 145.0.0.0
- OS: macOS
- Theme: Twenty Fourteen 4.4
- MU Plugins: None activated
- Plugins:
- Disable Customizer 2.2.7
- Test Reports 1.2.1
Actual Results
- ✅ The primary issue addressed by the patch is resolved.
- ⚠️ A minor visual issue still remains.
The .theme-actions container still renders a small box-shadow (inset 0 1px 0 rgba(0,0,0,0.1)), which creates a thin visual line in the active theme bar.
| Before | After |
|
|
@shailu25 commented on PR #11121:
7 weeks ago
#7
@joedolson commented on PR #11121:
7 weeks ago
#8
I removed the box-shadow on the active theme actions container. It was pretty much entirely invisible when the customizer was active, so the only case where you could really see it was this one.


Bottom of an active classic theme that does not have a customize button