Remove header from specific pages
-
I am looking to remove the header (logo) from certain pages of my site. I’m using InfoWay theme. Is there a way to do this while keeping the logo on some pages?
The blog I need help with is: (visible only to logged in users)
-
If you want to remove the logo from a certain page type, such as static pages, you can do that with a body class. If you only want to remove it from certain specific pages (such as services, or Dave’s bio, then it would likely be best to target those pages specifically with page id body classes. You can find the page ID body classes by viewing the source code of the desired page and look in the opening body tag, which will look something like this
<body class="page page-id-2 page-template...This example CSS removes the header image from Dave’s bio.
.page-id-2 #headimg { display: none; } -
I didn’t give an example for page type since looking at your site, I see only static pages and no posts.
- The topic ‘Remove header from specific pages’ is closed to new replies.