Zum Hauptinhalt springen

How do I create a custom button for my chat widget? - Wissensdatenbank / Deskpro Legacy - Deskpro Support

WARNING: You're browsing documentation for an older version of Deskpro. For the most up-to-date version, see: How do I create a custom button for my chat widget?

How do I create a custom button for my chat widget?

Autorenliste

If you want to use your own custom HTML element/button to launch the chat widget on a page, you just need to add the special classname "dpwidget-open" to it. For example:

 

<button class="dpwidget-open">Open Chat</button>

 

You can use some custom CSS on your page to hide the default button:

 

<style type="text/css">
#dp_widget_container iframe[name="widget_trigger_iframe"] {
    display: none !important;
}
</style>
Hilfreich Nicht hilfreich

66 von 136 Personen fanden diese Seite hilfreich

Fügen Sie einen Kommentar hinzu

Bitte loggen Sie sich ein oder melden Sie sich an, um einen Kommentar zu hinterlassen.

Benötigen Sie eine Passwort-Erinnerung?