Remove Header and Menu on specific post

Posted in: Newspaper
Post count: 8

Hello,
Please, I would like to remove this complete section from Specific posts on my site.
Complete header (logo, menu, search) as well as the post url path (home-category-post title)

none

So after removing this, post starts with the title.

Post count: 20688

Hi,

The easiest way would be to use some custom code to hide the header on specific posts, since there is no theme option for something like this.
A code like this for example, based on post ID that will hide the header and the breadcrumbs just for that specific post page
https://www.screencast.com/t/8uNEYNhyt

.postid-18145 .td-header-wrap,
.postid-18145 .entry-crumbs{
display: none;
}

Use the post Id for the post you want in the code, then enter it in Theme panel->Custom CSS. The post Id can be found in multiple ways, when editing the post for example
https://www.screencast.com/t/76WVEb2PZZ

Thanks

Post count: 8

Thank you, Simion. The Code works well 🙂

Post count: 8

Hello,

Please kindly give me the code to hide the footer on those pages too.
none

I don’t want to display this section too on those posts.
Thanks.

Post count: 20688

Hi,

Try this instead, it will remove the footer and sub-footer as well
https://www.screencast.com/t/WFQoZxYBQfj

.postid-18145 .td-header-wrap,
.postid-18145 .entry-crumbs,
.postid-18145 .td-footer-wrapper,
.postid-18145 .td-sub-footer-container{
display: none;
}

Thanks

Post count: 8

Ok, thanks…
It works but what I see is, the code actually just hide the sections. it’s loaded and still occupies the spies but just hidden.

I can go with this but if there is a way to completely remove those sections from those post instead of hiding it, it will be great.

Post count: 20688

Hi,

There is no page or post template at the moment that does not display the header and footer. These elements are meant to appear on the whole website, meaning pages, posts category pages etc.
The only way is to hide them like shown, that would be the easiest if this is required.

Thanks

Post count: 8

Thanks, Simion.
I have decided to completely remove the header section from the entire website instead of just hiding it on some posts.

So the site/posts start with the title…
Which line of code can I comment out to remove it?

Post count: 8

I just deleted everything on Newspaper/parts/header/header-style-1.php
and it seems fine

Viewing 9 posts - 1 through 9 (of 9 total)
The forum ‘Newspaper’ is closed to new topics and replies.