#51522 closed defect (bug) (worksforme)
Customizing : Site Icon CSS Change
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Customize | Keywords: | has-patch 2nd-opinion |
| Focuses: | css | Cc: |
Attachments (4)
Change History (9)
#1
@
5 years ago
- Component changed from Administration to Customize
- Focuses ui removed
- Keywords reporter-feedback added
- Version trunk deleted
Hi @ravipatel,
I'm having difficulty understanding the issue from the screenshots. Could you provide steps to replicate the issue?
#2
@
5 years ago
1) Add favicon icon - I am using png image
2) Remove from upload directory or rename image name temp for show wrong path
3) After image path not found you can see this ui issue.
#3
@
5 years ago
- Keywords needs-refresh 2nd-opinion added; reporter-feedback removed
"Remove from upload directory or rename image" is the key step to reproduce the missing image error. When the site icon image is deleted in the media library, the site icon setting is removed and the Customizer no longer tries to show a preview.
To adjust the alt text styles, setting display: inline-block and changing the color works here. Including the padding is not a good option, though, because it would change the app icon preview when the image exists at the expected URL.
@
8 months ago
alternative text showing for the app icon and browser icon, in light and dark previews
#4
@
8 months ago
- Keywords needs-refresh removed
- Milestone Awaiting Review deleted
- Resolution set to worksforme
- Status changed from new to closed
I tried this again, and the styles have changed.
- The App icon preview is inside
griddisplay, with dark text against a light background, so the image does not needdisplay: inline-blockor a text color anymore for its alternative text. - The Browser icon preview does not make the
alttext very readable in either light or dark mode. The image theoretically could have a text color likevar(--site-icon-address-bar-text), but that still would be difficult to read when "Browser" overlaps the Site Title.
I think being able to read the text in the App icon image effectively indicates that you need to 'Remove' or 'Change image' when the image does not exist at the same URL.
css changes for a site icon