How do I hide the “Chat” tab in Docked Layout?

For some use cases, you may not want to show the Chat tab at all.

  1. Visit the CometChat Admin Panel -> Settings -> Editor
  2. Select Custom CSS from the drop down
  3. Move Enable Custom CSS Switch to right i.e Enabled
  4. Add the following code and press Save Button and confirm by pressing “OK”:
#cometchat_userstab{
  opacity: 0;
  height: 0px;
  width: 1px;
  min-width: 1px;
  display:none; !important;
}
#cometchat_userstab_popup{
  opacity: 0 !important;
  display:none; !important;
}