Kathryn Thanks. It is working but it also removes menu alongwith header. Is there any way menu stays at its place and header removed?
Give this a try:
.site-branding {
display: none;
}
Is there a way to do this on some pages, but not all, like for a landing page?
To hide the whole header on every page except the homepage, try:
.site-header {
display: none;
}
.home .site-header {
display: inherit;
}
[Edit: fixed typo in code]
If you want to keep the menu visible, use .site-branding
in both places instead of .site-header
-
This reply was modified 8 years, 2 months ago by
Kathryn Presner. Reason: fixed typo in code