Skip to main content

On the Javascript API page - https://developers.intercom.com/installing-intercom/docs/javascript-api-attributes-objects thereis a message attribute "background_color" which says is "Used behind your team profile and other attributes". However it doesn't seem to do anything. What does it do & is there some other way to programmatically change the color scheme of the messenger in an app or site?

Hey @user420​ 👋

 

I just referred to the developer guide you linked and I tested this out and was able to change the background colour. For reference this is where the colour changes: 👇

 

forumYou would need to add the colour when you boot intercom, like this: 👇

background_color: '#000000'

 

Let me know if that helps 🙂


Hi @lisa b11​ - thanks! This is strange - I used the same code as before & it's now working.

 

Well that's all I needed so thank you again 🙏


Awesome, glad it's working for you now 🙌


Reply