PrashantLearnIT
Tera Sage
Options
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
12-05-2023
11:50 PM
Difficulty in changing the color of homepage with new UI?
Follow below steps:
- Create a new record in sys_ux_style table with type 'Core'
- Add style like below. You can copy as many property as you like from OOB style and change the colour codes
Note: This sample style should change the homepage to RED colour
| { "properties": { "--now-unified-nav_header--background-color":"160,0,0", "--now-unified-nav_menu--background-color":"160,0,0", "--now-unified-nav_menu-filter--background-color":"160,0,0", "--now-unified-nav_menu-filter--border-color":"255,255,255", "-now-unified-nav_contextual-app-pill--background-color":"255,255,255" } } |
- Create one more record in m2m_theme_style with theme selected as Polaris and Style selected as the newly created one
If my content helped you in anyway, please mark this content as BOOKMARK, SUBSCRIBE & HELPFUL
Best Regards,
Prashant Kumar (LearnIT)
YouTube Channel LearnIT: https://www.youtube.com/@learnitwithprashant
Blog LearnIT: https://medium.com/@LearnITbyPrashant
Prashant Kumar LinkedIn: https://www.linkedin.com/in/learnitbyprashant/
ServiceNow Community Prashant Kumar - https://www.servicenow.com/community/user/viewprofilepage/user-id/19635
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
