How to Remove Attachment Features in Qiscus Widget?

  • Updated

You can follow up this steps:

  1. Copy the widget code in the Code Snippet, then paste it on your website.
  2. Add this extra CSS lines inside the <head>...</head> section of your website
    //ADD CSS STYLE TO HIDE ATTACHMENT ICONS
    <style>
    .qcw-comment-form .qcw-icon {
    display: none;
    }
    </style>

    <script>
    document.addEventListener('DOMContentLoaded', function() {
    var s,t; s = document.createElement('script'); s.type = 'text/javascript';
    s.src = 'https://s3-ap-southeast-1.amazonaws.com/qiscus-sdk/public/qismo/qismo-v2.js'; s.async = true;
    s.onload = s.onreadystatechange = function() { new Qismo("your-app-id"); }
    t = document.getElementsByTagName('script')[0]; t.parentNode.insertBefore(s, t);
    });
    </script>
  3. The default styles looks like this:
    Screen_Shot_2019-09-11_at_4.26.46_AM.png
  4. After our extra CSS style it’ll turn out like this:
    Screen_Shot_2019-09-11_at_4.27.21_AM.png

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.