Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

PrashantLearnIT
Tera Sage

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