Opened 6 years ago
Last modified 4 years ago
#44968 new defect (bug)
Header Text color option doing two jobs, so both suffer
Reported by: | joyously | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Customize | Keywords: | dev-feedback |
Focuses: | Cc: |
Description
There are two issues, both of which have been addressed before. #23761, #22498
The Header Text color option and the Display Site Title and Tagline option use the same storage space (theme_mod), so there is no way to hide the title and use the color for other header text, and when the title is unhidden the color is (sort of) the default.
Steps to reproduce:
- In Customizer, note the header text color for comparison later.
- Hide the site title.
- Save and exit the Customizer.
- Open Customizer and unhide the site title.
- Look at the header text color and compare to value from step 1.
What I expect:
- The header text color could be used for other header text besides the site title. Hiding the title should not hide the color selection.
- The color set before the title was hidden should be restored when the title is unhidden.
What actually happens:
- The color option is used to indicate the visibility of the site title, so the color is set to 'blank'.
- Other text in the header cannot be styled with the header text color if the site title is hidden.
- When the site title is unhidden, the header text color option shows a color for the swatch that is the default color, but the text input box is empty and the color indicator shows black (as if it were 0).
Or just set the color of the header text, hide it, unhide it, and the color you chose is gone.
I think it should be two separate options for color and hiding. I don't know how that would affect backward compatibility, but it is the best solution.
Attachments (2)
Change History (6)
#1
@
6 years ago
Ignore this line:
Or just set the color of the header text, hide it, unhide it, and the color you chose is gone.
#2
@
6 years ago
- Component changed from Options, Meta APIs to Customize
- Keywords dev-feedback added
@joyously, Yes it's bug. it will persist when we close Customizer panel otherwise color field value not removed and it working fine. check attached video for more information.
Note the white swatch (and text), the empty input box, and the black color indicator.