Chatbot Icon Customization
NextWealth
Dear Support Team,
I have updated the following branding elements in our Botsonic chatbot:
Widget icon image
Botsonic branding image
Bot avatar
While these updates are reflecting correctly when widget is opened, we’ve noticed that when the chatbot widget is opened and then closed, the Botsonic icon temporarily reappears instead of our custom logo. Could you please assist us in resolving this issue?
samjhana hamal
the Botsonic icon reappears after closing the chatbot widget, there are a few common solutions you can try to resolve this issue.
- Check Widget Settings
Default Settings: Review the widget settings in the Botsonic dashboard. Make sure the option for “Widget is Open by Default” is set as you prefer (either open or closed). If it's set to open, the icon may reappear when the page is refreshed or when navigating. If you want it closed by default, ensure that is selected.
- Custom CSS Overrides
CSS Customization: If the widget settings allow custom CSS, you can add rules to control the visibility of the icon. For example, setting the icon’s display to none in a custom stylesheet may help prevent it from showing again after being closed. Use something like:
.your-widget-class {
display: none!important;
}
Replace
.your-widget-class
with the actual class of the Botsonic widget.### 3.
JavaScript Interactions
- Control Visibility with JavaScript: You can use JavaScript to hide the Botsonic icon dynamically. This can be a direct solution for making the widget responsive to closing actions:
```javascript
document.querySelector('.your-widget-class').style.display = 'none'; // Hide widget
Ensure to trigger this after the close action of the chatbot to prevent it from appearing again.
- Review Documentation or Support Resources
Refer to Botsonic Documentation: Always check the official documentation for any specific configurations or settings that may address your situation. Sometimes software updates introduce changes that require further adjustments.
- Contact Support
Reach Out to Botsonic Support: If the issue persists, contacting Botsonic support may provide a direct solution tailored to your specific issue. They can offer more insight into why the icon might be reappearing and guidance on how to fix it.
Implementing the steps above should help in addressing the problem of the Botsonic icon reappearing after closing the widget. Adjust the settings carefully and consider testing changes in a safe environment.