Tagged: exclude, page content, sidebar
Hi Enfold team,
I’m using the new Page Content element – very nice. However, the Page Content (page I’m calling) is also listed in the right sidebar pages list. How do I omit the content page id?
See private for url – Thanks for your help
Hey Julie,
If I understand correctly you would like to hide pages 5538 & 5536 from the sidebar navagation. Will this be for all pages or just some?
For example to hide the pages from certain pages, try some css like this:
#top.page-id-5536 .widget_nav_menu .page-item-5536,#top.page-id-5536 .widget_nav_menu .page-item-5538 {
display: none !important;
}
To hide them from all pages, please try css like this:
.widget_nav_menu .page-item-5536,.widget_nav_menu .page-item-5538 {
display: none !important;
}
To exclude pages from the screaches you will need to use a function like the one you poasted, have you tested this one?
Please let us know if this helps.
Best regards,
Mike
Door #2 worked. Perfect! Thank you.
Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon