How to remove 'Browse IT' button from the Mega menu Employee Center
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2022 10:09 AM
Hi,
I want to remove the 'Browse IT' button from the IT topic, as there are no child topics under it. Can anyone please help with this.
Thanks in advance.
Thanks,
Navyaa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2022 10:55 AM
To remove the "Browse IT" button from the Employee Center mega menu in ServiceNow, you will need to access the ServiceNow instance and modify the UI page that displays the mega menu. Here is a general overview of the steps you can follow:
Log in to your ServiceNow instance as an administrator.
From the main menu, navigate to System UI > UI Pages.
In the list of UI pages, search for the page that displays the mega menu in the Employee Center. The name of the page may vary depending on your ServiceNow instance and the version you are using, but it should be something like "empcenter_mega_menu".
Once you have found the correct UI page, click on it to open the page editor.
In the page editor, you will see the HTML, CSS, and JavaScript code that defines the layout and functionality of the mega menu. You can use the search function to find the section of the code that defines the "Browse IT" button. This section should include an HTML anchor tag (<a>) with the button text and a link to the "Browse IT" page.
To remove the "Browse IT" button, you can either delete the anchor tag or comment it out using HTML comments (<!-- and -->). You can also remove the link to the "Browse IT" page, if you want to prevent users from accessing it.
Save your changes and test the mega menu to see if the "Browse IT" button has been removed.
Keep in mind that modifying the UI page that displays the mega menu can affect the appearance and functionality of the Employee Center. You should make sure to test your changes thoroughly and back up the UI page before making any modifications. If you are unsure of how to modify the UI page, you can consult the ServiceNow documentation or contact support team for assistance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2023 01:16 AM
The "browse all" button is located in the widget "Employee Center Navigation" which is called by the "Employee Center Header" widget.
The update will needs to be done on "employee center header" widget because the navigation one is not editable.
To remove the browse all button, add the following css code in the "employee center header" widget :
.browse-button-container {
display:none !important;
}
after saving your widget update maybe you'll have a scope error that will popup when you'll access again to your EC portal.
the fix for that error is described here : Cross Scope Access Privilege error after editing Employee Center Header