Employee Center Header Menu items color change
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2024 12:00 AM
Hello All,
I have a requirement to change the header menu color items in Employee Center portal. I am trying to change the code in CSS part of Employee Center Header widget but still not get expected result.
I want my texts to display in black color. Can anyone help me in coding in CSS part such that my text displays in black color instead of white.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2024 12:10 AM
Hi @ashwinganesh ,
You can change the color of the mega menu by opening Branding Editor from Service Portal Configuration (sp_config) page and changing the Navbar Divider color under Theme Colors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2024 02:20 AM - edited ‎02-09-2024 06:58 AM
Hi @ashwinganesh -
1)Navigate to Service Portal -> Portals -> Employee Center.
Add this CSS
navbar-inverse .navbar-nav > li > a {
color: #000000;
}
or
2)Navigate to Employee Center header widget and check for CSS. If you can find similar to this
.navbar-inverse .navbar-nav > li > a and make color as #000000
Please mark my response as correct/helpful if it is answered.
Regards,
Ratna Jyothi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-09-2024 02:57 AM
You can do via portal configuration
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-20-2024 01:51 AM
Hi @ashwinganesh
You can add the following code to the CSS variables field in the Employee Center record (sp_portal) to change the text color in the global navigation bar: