Remove Tours from Service Portal header without disabling Tours themselves?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2024 03:53 PM
I would like to remove the "Tours" link from the Service Portal header:
but I do not want to disable Tours themselves, I just don't want it in the menu (so I cannot set `com.snc.guided_tours.sp.enable` to `false` as suggested elsewhere).
Any and all guidance is much appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2024 06:08 PM
Another option to avoid widget customisation is by updating your portal's CSS. This does rely a bit on the DOM structure (to target the tour element via ID), but allows you to keep the OOTB widget header:
- Service Portals > Portals
- Open your Portal & change your scope if required
- Click the (i) next to the Theme field. In my case this opens the EC Theme record.
- On the CSS Includes related list, click the [New] UI action.
- Add a name and click the magnifying glass next to the Style Sheet field.
- Click [New] on the list popup
- Enter a name (eg: ec-hide-tour-menu)
- Add the following style to hide the tour menu item:
#tour-dropdown {
display: none;
}
You can submit and refresh your portal. The tour-dropdown should be hidden.
Note: Normally you can update the CSS of a widget instance, but I can't seem to work out how to do that for the Employee Center Menu, seems like this instance is created dynamically and not stored int he instance. But if you can work out how to modify the widget's instance's CSS, then that would be preferred.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2024 06:36 PM
Yeah this is probably what I’ll end up doing, thanks!