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

cool, the only thing I would say is to beware if a future upgrade enhances this ui macro anyway, you would have to update it manually as you now 'own' it


We have a Search that is at the Service Catalog level, and would like to do this same background.  


How would I do that?


marcguy
ServiceNow Employee
ServiceNow Employee

looks like in recent versions it may have moved to a content block, look under CMS-Dynamin Content name contains search and I can see some catalog search blocks.



The ID of the search box is 'sc_search_field_container'


I will give that a try, thanks for your help.