Opened 3 months ago
Closed 3 months ago
#65974 closed defect (bug) (duplicate)
Toolbar: transparent site icons should not have white background
| Reported by: | fushar | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Toolbar | Version: | 7.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | css, administration |
Description
Since WP 7.1 we started showing site icons in the admin bar, a feature that I implemented.
It was me who added the background color so that the site icons are consistently square (vs user avatar which is consistently circle). But now that the feature is live and I've seen some client sites, I think it's a mistake. In some brands, the shape of a transparent site icon gets weird with the added white rounded square.
It seems at least a user also feels the same way in this comment: https://core.trac.wordpress.org/ticket/65912#comment:16
See the attached PR for more details about the suggested changes.
Change History (4)
This ticket was mentioned in PR #13289 on WordPress/wordpress-develop by @fushar.
3 months ago
#1
#3
@
3 months ago
Oh my god yes... I see you tagged me in that ticket but I didn't get any emails so I didn't get notified. It's strange.
My PR has more changes to also "fix" the Settings -> General site icon preview, though.
Let's close this ticket and use that one instead! (I don't think I can close this as duplicated, can you help?)
Trac ticket: https://core.trac.wordpress.org/ticket/65974
This PR removes white background from transparent site icons. This is done so that site icons maintain their original shape.
I actually implemented the initial background color so that the site icons are consistently square, but now that the feature is live and I've seen some client sites, I think it's a mistake. In some brands, the shape of a transparent site icon gets weird with the added white rounded square.
With this change, these 4 places are now consistent:
---
### Solid site icon (no change)
Toolbar
Settings -> General
Site Editor -> Identity
Actual browser Chrome tab
---
### Transparent site icon
Toolbar - BEFORE vs AFTER
<br>
Settings -> General - BEFORE vs AFTER
<br>
Site Editor -> Identity
Actual browser (Chrome) tab
## Use of AI Tools
Used Claude Code, Opus 5 to help generate the CSS changes.