Hiding Header and Footer for specific page

Posted in: Newspaper
Post count: 1

Hi

I am trying to hide header and footer for specific page but when i use this code:

.page-id-8610 .td-header-wrap, .td-footer-wrapper, .td-sub-footer-container{
display:none!important;
}

on theme panel custom css it does hide the header and footer but on the other pages the footer disappear and header remain, i want the other pages to have header and footer.

I will appreciate your assistance.

Post count: 20688

Hi,

If you are using a page Id in the code, the first part of the code (before the comma) will apply only for that specific page. The footer and sub-footer will be hidden always. The code should look like this if you want to hide the header and footer on that particular page

.page-id-8610 .td-header-wrap,
.page-id-8610 .td-footer-wrapper,
.page-id-8610 .td-sub-footer-container {
display:none!important;
}

Please try it like this and see if it works properly for you.

Thanks

Post count: 14

Hi, if i like hide a specific sidebar on page, wich code i need ?
is possible hide a widget(on sidebar, footer, etc.) on this specific situation too ?
tks

Post count: 20688

Hi,

@popacombr Hiding the header and footer are not required anymore, since the empty page template has been added and can be selected for the specific pages.

On pages you can now hide elements per device, with the tagDiv composer or WPBakery page builder. A related topic with more information here
https://forum.tagdiv.com/topic/change-moduleblock-12/

Thanks

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