You can't customise what's inside an iframe as it's basically another webpage within your page so you won't be able to use a custom font. The only way to do that is to inject some code in the iframe but there's no way to do that with the chat window.
You can do the other things in your list though, some easily, others using tricks :
- color customisation => go to your inboxes settings and simply change the color using the prompt as shown below.
- custom open/close action :
This relies on a trick that pushes the container out of the screen when the chat is closed.
You will have to replace that with your own button, that you will have to tie to a bit of javascript that will open and close the chat like using :
HubSpotConversations.widget.close();
or
HubSpotConversations.widget.open();
You will also have to add a media query to remove the bottom: -80px on mobile since the chat takes 100% of the screen height.
As you can see there are solutions to most of your problems, although they're not clean solutions, you'll have to get a bit creative to find a workaround, but what's written above is indeed working.
Hope this helps ! If it does, please consider marking this answer as a solution 🙂
Best,
Ludwig
CTO @ Mi4 Hubspot Platinum Partner and Integration Expert
Passionate human, very curious about everything data and automation.
You can't customise what's inside an iframe as it's basically another webpage within your page so you won't be able to use a custom font. The only way to do that is to inject some code in the iframe but there's no way to do that with the chat window.
You can do the other things in your list though, some easily, others using tricks :
- color customisation => go to your inboxes settings and simply change the color using the prompt as shown below.
- custom open/close action :
This relies on a trick that pushes the container out of the screen when the chat is closed.
You will have to replace that with your own button, that you will have to tie to a bit of javascript that will open and close the chat like using :
HubSpotConversations.widget.close();
or
HubSpotConversations.widget.open();
You will also have to add a media query to remove the bottom: -80px on mobile since the chat takes 100% of the screen height.
As you can see there are solutions to most of your problems, although they're not clean solutions, you'll have to get a bit creative to find a workaround, but what's written above is indeed working.
Hope this helps ! If it does, please consider marking this answer as a solution 🙂
Best,
Ludwig
CTO @ Mi4 Hubspot Platinum Partner and Integration Expert
Passionate human, very curious about everything data and automation.
Hello, thank you for the help! I need to move the position of chat window on the screen, to connect it to the click event of my custom button on page. Therefore I don't want it to be fixed at the bottom left or bottom right. I managed to simulate the behavior by modifying the style code of the chat, but I cannot implement it as it is enclosed in an iframe tag
As for your suggestions, doing workarounds is not the best way to solve problems, because I hope that in the future there will be the possibility to customize the widget. 😉
Indeed @GC5, that's why they're callked workarounds 😉 For the moment though, unless you use them, you'll have to postpone your plans.
In the meantime, I encourage you to check if such an idea has been posted in the appropriate section of this forum and upvote it. Otherwise, feel free to post your own so as to inform HubSpot that there's a specific need for chat customisation.
Best regards,
Ludwig
CTO @ Mi4 Hubspot Platinum Partner and Integration Expert
Passionate human, very curious about everything data and automation.
Alright i understand, before closing this thread, i was just wondering if there was a way to move the chat window separately from the open button. otherwise everything is fine thanks.