Skip to main content
Answered

Is there a way to programmatically change the colors of the messenger in an app/site?

  • October 28, 2020
  • 3 replies
  • 403 views

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?

Best answer by Lisa B11

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 🙂

View original
Did this topic help you find an answer to your question?

3 replies

Forum|alt.badge.img+5
  • Employee
  • 250 replies
  • Answer
  • October 29, 2020

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 🙂


  • Author
  • New Participant
  • 1 reply
  • October 29, 2020

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 🙏


Forum|alt.badge.img+5
  • Employee
  • 250 replies
  • October 29, 2020

Awesome, glad it's working for you now 🙌


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings