Display Message Button Anywhere

Share this resource

Share on facebook
Share on twitter
Share on linkedin
Share on email
Share on facebook
Submitted by: Donald McGuinn

This code allows you to display the message icon found in the default MyListing header, anywhere on the site.

Add this to an HTML elementor element.

<div class="messaging-center inbox-header-icon" style="margin-left: 0px;">
  <a href="#" id="messages-modal-toggle" class="icon-btn" data-toggle="modal" data-target="#ml-messages-modal">
    <i class="material-icons" style="color: black;">inbox</i>
      <div class="chat-counter-container" id="ml-chat-activities"></div>