Ganzorig Bayarsaikhan13 May 2021
You can increase the chat logo size by adding the following line of code into the existing script of your messenger. You can change the background-size to a maximum of 56 pixels. Default size is '20px'.
- Find your brand ID by going to Settings -> AppStore and click on the Messenger box.
- Open the dropdown and click on Install Script.
- Find the brand_id
- Copy the modified code below and paste it in the appropriate area, either website or Google Tag Manager.
- Set the preferred size instead of 30px if you wish to do so.
- Replace the parts in yellow with your unique Brand ID and organization subdomain.
Here is a full script example:
<script>
window.erxesSettings = {
messenger: {
brand_id: "mhyJXp",
css: ' .erxes-launcher { background-size: 30px}',
},
};
(function() {
var script = document.createElement('script');
script.src = "https://fatcatjazzclub.app.erxes.io/widgets/build/messengerWidget.bundle.js";
script.async = true;
var entry = document.getElementsByTagName('script')[0];
entry.parentNode.insertBefore(script, entry);
})();
</script>
window.erxesSettings = {
messenger: {
brand_id: "mhyJXp",
css: ' .erxes-launcher { background-size: 30px}',
},
};
(function() {
var script = document.createElement('script');
script.src = "https://fatcatjazzclub.app.erxes.io/widgets/build/messengerWidget.bundle.js";
script.async = true;
var entry = document.getElementsByTagName('script')[0];
entry.parentNode.insertBefore(script, entry);
})();
</script>