Anyone knows how to set the Employee Center header to fixed instead of fluid (max width)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2022 02:11 AM
Hi, I have a requirement to set the Employee Center header to the same width as the rest of the page > Employee Center pro. So fixed size and not fluid whereby max width is being used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2022 11:54 PM - edited 10-13-2022 11:54 PM
Similar to this site (and many many others). It is all aligned the header with the rest of the page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2022 12:23 AM
Any suggestion?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2022 02:48 AM
any reply and suggestions from anybody?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2022 07:56 AM
Hello @Alex87 My suggestion would be to clone the OOTB header and add "container" as a class in the html. EC and all of ServicePortal uses Bootstrap and "container" will apply it's rules of "margin-right & margin-left" auto" as defined by the Bootstrap file that's loaded with the portal page. Using inspect element, here's my result. It's not pretty but as you can see, the majority of the page is contained within a "container" and the header is lining up with the search and announcements just below Content Experience. See my screenshots below. Also, as I adjusted the page size, the header did not grow and shrink, which is what you want. This should help you get the majority of the way. Some decisions will have to be made on your part as to look and feel. Please mark if helpful and keep me posted on your progress. Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2022 01:38 AM
Rod, this is a really nice and simple solution. Thank you for sharing this. I only facing now the challenge that the background color of the header and footer has two parts. The top and bottom part. both have a different background. For now i have put one background color on .sp-page-root header.. but that has not a split row in it.