Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Changing the color of the Global Search background

mitzaka
Mega Guru

Hi SNC,

 

Is there a way to change the color of the Global Search? It's by default very un-noticable, unless you know it's there, and I think it would be wise to make it more visible as searching is one of the first things which people do in SNow. Do you know a way to change the colour, or put some coloured label or something in that direction?

 

find_real_file.png

1 ACCEPTED SOLUTION

marcguy
ServiceNow Employee
ServiceNow Employee

actually just realised it's the text_search_widget UI Macro that's being called, yes looks like you can define the style in there, i just added a border round it via:



            function="$('textsearch').submit()"


              style="color:#999; border:solid 5px;"


View solution in original post

8 REPLIES 8

marcguy
ServiceNow Employee
ServiceNow Employee

check out the ui macro called ui_global_text_search


mguy, thanks for that - I guess this is the UI macro I need to look at.


One more question - I saw where to modify the text color and the border color, but do you know way I could   set the background color to some other?


marcguy
ServiceNow Employee
ServiceNow Employee

actually just realised it's the text_search_widget UI Macro that's being called, yes looks like you can define the style in there, i just added a border round it via:



            function="$('textsearch').submit()"


              style="color:#999; border:solid 5px;"


Nice, that was helpful. All I had to do is add the background setting to the line below and refresh.


style="color:#999; border:solid 0px; background: rgb(194, 205, 35);"



And now I have the result I wanted My whole point is to make this somehow more visible, to draw attention.


find_real_file.png


Thanks!