Can I exclude a page from the portal theme, or hide the header/footer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2018 07:32 AM
I'm working on a portal that has a landing page that will be displayed to users before they are logged in. This page will show some elements of the portal, but not all, and it shouldn't have the header and footer that will be present on all of the pages once the user has logged in.
I was hoping to easily accomplish this by adding the following to the page specific CSS, but it looks like Service Portal is ignoring it:
.header, .footer { display: none; }
I've also tried setting visibility:hidden, and height:0 just for kicks.
From what I can tell, Service Portal is ignoring anything to do with the header and footer, as I've tried simply changing the background color and even that is ignored.
- Labels:
-
Service Portal Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2018 06:23 AM
Hi,
Please add:
header{
display: none;
}
to the specific page. Similarly for footer.
Just like I did, not a variation or what you've already done.
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2018 10:45 AM
I got it to work with...
.footer{display:none !important;}
...on the page CSS. That !important bit is important. Otherwise it gets overridden by the theme

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2018 12:03 PM
Ah, glad you got it to work
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!