How to hide the attachment upload icon from Chat Widget

At the moment, Chat does not provide the option to disable the attachment function from Chat Widget. However, in some cases, attachment uploading functions might not be needed and wanted. The following workaround will be able to hide this attachment icon from Chat Widget at the external website (JavaScript) so your users won’t be able to upload the attachment from Chat Widget UI in regular ways.

Please be aware that users can still login to your Jira Portal and upload the attachment since that is not related to Chat but rather Jira Service Management itself.

 

By applying the following CSS, the attachment upload icon will be hidden, and also the emoj icon will be moved to the proper place where the attachment icon was at.

button.add-attachment{ display:none!important; } button.add-smiley{ right: 10px!important; }

 

After applying the CSS above, the Widget should look like the following in the screenshot,

Â