Hi, I have a couple custom temples & corresponding css style sheets in the child theme I created. I was wondering what class I can add to my css that “hides header on this page” rather than going in to every page and selecting this option. When I created the page templates, they still use the same header and footer, so I would just like to hide the whole header via css. Thank you!
Hi tvlleaders!
You can identyfy the pages with the unique ID and then use the following code to hide the header, replace the ID with your values:
.page-id-2503 #header,
.page-id-2504 #header {
display: none !important;
}
.page-id-2503 #main
.page-id-2504 #main {
padding-top: 0px !important;
}
Cheers!
Günter
perfect thank you!