Change the button font color in Virtual Agent

Aaron Snook1
Tera Contributor

I must be missing something simple.  I am trying to change the color of the font on the button.

Screenshot 2023-11-07 110145.png

 

The button background can be changed easily using the button background attribute below

Screenshot 2023-11-07 110211.png

How do I change the color of the font?  I have modified all the fonts in the branding and nothing has changed it.

 

Thanks!

6 REPLIES 6

Thank you for your answer Rekha, I will check it and let you know.

swathisarang98
Giga Sage
Giga Sage

Hi @Aaron Snook1@kwong43 

 

I found something online this might help,

How to change Show me Everything text in virtual agent ServiceNow?

  1. Navigate to Conversational Interfaces > Virtual Agent > Designer and select the copy of the Greetings setup topic that you created.
  2. In the Flow tab, select the node for the Send Topic Picker script action.
  3. In the Script Action Properties sheet, open the Action Expression script, change the greetingMessage text string as needed, and select Save.
    For example, to change the button text to Show more, you would change the script as follows:

     

    (<span class="hljs-name">function</span> execute() {
        var greetingMessage = vaSystem.getTopicSelectionMessage()<span class="hljs-comment">;</span>
        vaSystem.sendTopicPickerControl(<span class="hljs-name">greetingMessage</span><span class="hljs-punctuation">,</span> <span class="hljs-string">"Show more"</span>)<span class="hljs-comment">;</span>
    })()

    Or you can try below community Link,

    https://www.servicenow.com/community/virtual-agent-nlu-forum/virtual-agent-change-quot-show-me-every... 

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang