Open Customizer -> Site Identity -> Uncheck Display Site Title and Tagline, and the entire header disappears.
This is happening because when display_header_text is false the whole .header is put out of view, instead of just .header__title and .header__description. This is easily fixed by targeting the correct classes in inc/custom-header.php and in js/customizer.js.
The problem is that WordPress hides and removes the header_textcolor customizer setting when display_header_text is set to false. This means that the menu, or any other content that could have used that color no longer has access to it. So, essentially, to solve for this we'll need to add another customizer setting, something like header_textcolor_secondary.
Open Customizer -> Site Identity -> Uncheck Display Site Title and Tagline, and the entire header disappears.
This is happening because when
display_header_text
isfalse
the whole.header
is put out of view, instead of just.header__title
and.header__description
. This is easily fixed by targeting the correct classes in inc/custom-header.php and in js/customizer.js.The problem is that WordPress hides and removes the
header_textcolor
customizer setting whendisplay_header_text
is set tofalse
. This means that the menu, or any other content that could have used that color no longer has access to it. So, essentially, to solve for this we'll need to add another customizer setting, something likeheader_textcolor_secondary
.