function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sfdcDeveloper 12sfdcDeveloper 12 

How to replace the default live chat icon with the custom image in the website

I'm trying to change the default live agent icon with the custom image in my salesforce site. But its not getting updated. Here is the current Icon:
User-added image

I'm not able to find the correct place where I need to change the icon. I tried to update embedded_svc.settings.defaultMinimizedTex but it update the highlighted part in image. It's even not taking the image of chat button. Not sure from where to replace the icon.
 
<img id="liveagent_button_online_5730O000000byoz" style="display: none; border: 0px none; cursor: pointer" onclick="liveagent.startChat('5730O000000byoz')" src="https://saasdeveloper-developer-edition.ap7.force.com/liveAgent/resource/1555073074000/chat" /><div id="liveagent_button_offline_5730O000000byoz" style="display: none;"><!-- Offline Chat Content --></div><script type="text/javascript">
if (!window._laq) { window._laq = []; }
window._laq.push(function(){liveagent.showWhenOnline('5730O000000byoz', document.getElementById('liveagent_button_online_5730O000000byoz'));
liveagent.showWhenOffline('5730O000000byoz', document.getElementById('liveagent_button_offline_5730O000000byoz'));
});</script>

 
Dinesh GopalakrishnanDinesh Gopalakrishnan
Hello,

You can try adding fontawesome Icon with the help of pseudo classes.Please check the below link.

https://stackoverflow.com/questions/14736496/use-font-awesome-icons-in-css/32306143

Thanks
Dinesh
sfdcDeveloper 12sfdcDeveloper 12
@Dinesh Thanks for your reply!
However this link is not working
 
sfdcDeveloper 12sfdcDeveloper 12
@Dinesh Thanks for your reply!
However this link is not working
 
Dinesh GopalakrishnanDinesh Gopalakrishnan
Hi sfdcDeveloper12,
I'm Sorry for that.Please check the below one
https://stackoverflow.com/questions/14736496/use-font-awesome-icons-in-css/32306143

Thanks,
Dinesh
Prachi Arya 13Prachi Arya 13
Hi I have a similar requirement in embedded service chat window. Were you able to change the icon?