跳到主要内容

How do I create a custom button for my chat widget? - 知识库 / Using Deskpro / Admin / Channels - Deskpro Support

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

作者列表

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>


有帮助 没有帮助

添加一条评论

请登录或注册以提交评论。

是否需要密码提醒?