How to hide the megamenu bar in employee center
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 04:10 PM
Hi all.
I'm working on the employee center configuration. Our stakeholder doesn't need any taxonomy and also no megamenu bar in the portal, this is part of the requirement, but I don't know how to hide the Navbar divider. This is my first implementation and I don't know which way to solve it, so please Can anyone suggest me how to achieve this task?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 05:11 PM
Hi @CarlosEHM you could remove taxonomy from the Portal and for mega menu can you share screenshot what you want to hide? usually they come from Main menu in the Portal ,
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2024 01:07 PM
Hi Harish thanks for your comment. I need to hide the navbar divider. I don't have taxonomy in the portal, that's why I don't need that space in the portal, In the image I have marked which bar to remove.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2025 05:15 AM - edited 07-18-2025 05:17 AM
@CarlosEHM look at the "Banner announcements" whether there is not any active and eventually change the role or date until it shall be displayed
OR
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2025 05:22 AM - edited 07-18-2025 05:37 AM
So I actually figured this out today for a PoC for my own company. Preface this with all of the usual advice about Clone Widget and not to make this change to the original/core. I created this Copy Of Employee Center Header widget and updated the Header reference for my Theme to point to the "Copy Of" widget.
I had already tried removing the Taxonomy for EC before doing this, like you, however to remove the menu space on the page you need to comment out Line 42 of the Server Script for the Header menu widget (in this case "Copy Of Employee Center Header").
There is a known issue that updating the header widget also updates the records for the Restricted Caller Access Privilege. You'll need to follow this guide to fix it. Cross Scope Access Privilege error after editing E... - ServiceNow Community
Result - Mega menu is now removed from the portal display: