#38980 closed defect (bug) (fixed)
Twenty Seventeen: Header text color isn't always applied
Reported by: | ocean90 | Owned by: | laurelfulford |
---|---|---|---|
Milestone: | 4.7 | Priority: | normal |
Severity: | normal | Version: | 4.7 |
Component: | Bundled Theme | Keywords: | has-patch commit dev-reviewed |
Focuses: | Cc: |
Description
This is an issue with the CSS specificity.
Issue 1:
- Clear existing theme mods (
wp eval "remove_theme_mods();"
) - Go to the customizer and the colors section
- Switch to "Custom" and choose a color
- Notice that the preview has the color applied
- Click Save & Publish
- Close customizer and view the front page
- Bug: The header text has the default color
Issue 2:
- Clear existing theme mods (
wp eval "remove_theme_mods();"
) - Go to the customizer and remove the header image
- Default header color is now
#222
- Go to the colors section
- Change header text color to red
- Click Save & Publish
- Reload customizer (CMD/CTRL+R)
- Go to the colors section
- Select "Dark"
- Bug: The preview has the default color and the header text control still shows red
- Change header text color to yellow
- Notice that the preview has the color applied
- Click Save & Publish
- Close customizer and view the front page
- Bug: The header text has the default color
Attachments (3)
Change History (10)
#2
@
8 years ago
- Keywords has-patch added; needs-patch removed
In 38980.patch, I made the custom-header.php selectors a lot more specific as suggested. It seems to do the trick - let me know if it needs further adjusting!
This ticket was mentioned in Slack in #core by helen. View the logs.
8 years ago
Note: See
TracTickets for help on using
tickets.
Thanks for the report!
Looks like this is an issue in the CSS applied if you select a custom header text color. This:
Needs to also have the additional color scheme classes:
.colors-dark
and.colors-custom
.