Hide Chat bubble on entire website
-
(click on hidden ‘close’ button on top right corner of box to pass through ‘coming soon’ popup)
Hello!
I Discovered this amazing plugin a couple of weeks ago and it’s only now that I have time to go deep in it… I have to say What a fantastic plugin you made here!I want to hide the chat widget until the visitor click on a ‘chat with support’ button/link.
1. For the button/link trigger I found this code and added it on my footer:
<script>
$ = jQuery;
$(‘#chat-btn’).on(‘click’, function(e){smartsupp(‘chat:open’);
});
</script>As well as added a CSS ID ‘chat-btn’ to my button/link on my contact page under CHAT tab (link given above in specific field)
The part above works like a charm – but please read below:
I went through the documentation and got this JS:
_smartsupp.hideWidget = true; // use on specific pages
_smartsupp.hideMobileWidget = true; // hide chat box on mobile devicesI’ve put these 2 lines of code in the advance area of the plugin setting and it does not work on desktop version… However on mobile it works like a charm!
Any help would be much appreciated!
Thank you and best regards!
LudovicThe page I need help with: [log in to see the link]
- The topic ‘Hide Chat bubble on entire website’ is closed to new replies.