Opened 12 years ago
Closed 8 years ago
#22498 closed defect (bug) (worksforme)
Disabling Header Text should not reset Header Text Color to default
Reported by: | DrewAPicture | Owned by: | |
---|---|---|---|
Milestone: | Priority: | low | |
Severity: | minor | Version: | 3.4.2 |
Component: | Customize | Keywords: | ux-feedback has-patch |
Focuses: | administration | Cc: |
Description
In Appearance > Header, if you uncheck the 'Show header text with your image' option and Save, the Text Color option is reset to whatever the default is.
With JS enabled, the Text Color option is hidden when the checkbox is unchecked, but in no-js both options are displayed all the time. It's odd to set a header text color and uncheck the option only to have it reset your choice to the default.
Related: #22461
Attachments (2)
Change History (9)
#2
@
10 years ago
- Focuses administration added
- Keywords has-patch commit added
- Milestone changed from Awaiting Review to 4.0
- Priority changed from normal to low
- Severity changed from normal to minor
22498.patch hides tr.displaying-header-text
if display_header_text() is false. Sure, that requires two clicks for no-js but has a better UX in my eyes.
#3
@
10 years ago
This is tricky, because both options are actually one single theme mod called header_textcolor, which if set to "blank" hides the text. We don't save the previous value when updating to "blank", so there's no value to restore from. The behavior in the customizer seems okay unless you refresh after hiding the text. If you refresh then it's all the same reset to default.
To address the reset issue in this ticket, we can probably store the actual color in a different theme mod, like 22498.diff.
OK, so this actually still valid. After a small amount of testing, I noticed it's also impossible to update the header text color from the default while the 'Show header text with your image' option is disabled in no-js. Seems like weird UX.