Iframe CSS change on Virtual Agent Contact Support

ashu00732
Tera Contributor

Hey, I had an requirement of changing the style of iframe(Changing Background of contact centre to blue and text to white; Reducing the height of the three buttons as acquires lot of area) that appears when we click 3 dots to right corner of Virtual Agent .

ashu00732_0-1698410668653.png

 

When I did it via inspect I was able to do it but when called same classes from my theme it didn't work. How can I do it via theme, if atall it is possible, else what is the way to do it. Currently I'm on San Diego

 

Kindly help.

 

#virtualagent #iframe

3 REPLIES 3

Vanderlei
Mega Sage

Hi, @ashu00732 

ServiceNow offers an out-of-the-box feature for customizing the layout of a chat. To get started, you need to identify the chat component within your portal. If you are using the Employee Center, it's likely referred to as "EC Polaris."

To identify your chat, follow these steps:

  1. Navigate to "ALL" > "Service Portal" > "Agent Chat."
  2. Look for the active chat component that corresponds to your portal.

Vanderlei_0-1698414993827.png

 

When you click on the Agent Chat component, you'll find an object with the "branding_key" property. Make sure to save this value as you will need it in the future.

Next, proceed to "Conversational Interfaces" > "Home." Look for the "Brand your bot" section within the Home tab.

Vanderlei_1-1698415020371.png

 

Select the Branding Key that is being used in your portal. Now, on this page, you can edit colors, fonts, and even the buttons that appear in the Agent Chat to customize the chat layout to your preferences.

Vanderlei_2-1698415148554.png

 

Link: https://your-instance.service-now.com/now/conversation/settings/branding-settings/5d0eedb01b6d30508d16ca64604bcb02

 

Useful Links:

Set up your bot's branding (servicenow.com)

Virtual Agent Academy: Simple Widget Branding and Customization - YouTube

 

If my answer helped you, please mark my answer as helpful.

 

Vanderlei Catione Junior | LinkedIn

Senior ServicePortal Developer / TechLead at The Cloud People

 

ashu00732
Tera Contributor

@Vanderlei Hey this article is for the bots branding, I have the issue with the inframe that is used which pops up after clicking the three dots on top right corner and it looks like the Screenshot that I have attached.  I want to do css manipulation on that window. Using theme I tried, but it didn't work. If you can help me on that, It would be great.

Hi @ashu00732, did you find a solution to your issue? I am also looking for a solution to the same problem.