- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2023 03:22 PM
Hi,
I was wondering if it's possible to put the Report Incident and Knowledge topics to the other side of the mega menu bar (to the right) for better visibility/sectioning.
Any help is appreciated!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2023 01:50 AM
There's a non elegant solution which I do not really recommend but here goes:
- Open the "EC Theme"
- Add a new CSS include (Call it "Split main menu" or something
- Create a new stylesheet and add the following
.main-menu > div.navigation-menu-item:nth-of-type(3) {
margin-left: auto;
}
This will select the divs within class main-menu and then from the "3rd" div it will set the margin-left to fill it all the way so it moves to the right.
The issue is that the widget "Employee Center Header" uses an ng-repeat on all the taxomy items. So whenever you are now "adding" another menu item it will not make sense anymore.
Other solution
I would leave knowledge where it's now, and maybe add a "floating" button to report an incident in the "footer" widget.
Hope this helps! 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2023 01:50 AM
There's a non elegant solution which I do not really recommend but here goes:
- Open the "EC Theme"
- Add a new CSS include (Call it "Split main menu" or something
- Create a new stylesheet and add the following
.main-menu > div.navigation-menu-item:nth-of-type(3) {
margin-left: auto;
}
This will select the divs within class main-menu and then from the "3rd" div it will set the margin-left to fill it all the way so it moves to the right.
The issue is that the widget "Employee Center Header" uses an ng-repeat on all the taxomy items. So whenever you are now "adding" another menu item it will not make sense anymore.
Other solution
I would leave knowledge where it's now, and maybe add a "floating" button to report an incident in the "footer" widget.
Hope this helps! 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2023 07:07 AM - edited 11-02-2023 07:09 AM
@Wybren1 Thanks for providing a thorough explanation and even an alternative!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2023 07:17 AM
It's the one shown above, here's how to do it:
- Goto Service Portal > Themes
- Open the EC Theme
- Make sure you in the "Employee Center" scope
- Click New in the CSS Includes related list
- Name = Split Menu
- Click the Magnifying Glass in stylesheet (A pop up will open)
- Click New
- Fill in a name "Split menu" and the CSS
.main-menu > div.navigation-menu-item:nth-of-type(3) {
margin-left: auto;
}
- Submit the stylesheet
- Submit the css include
It should work then 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2023 07:17 AM
Perhaps a rookie question, but I don't see a "new" button to add the CSS include to the EC theme.
How do I add it?
Thanks in advance!