https://discord.gg/botpress logo
#🤝help
Finished my Botpress chat bot and wanted to get help with having the chatbot icon fixated
# 🤝help
s

square-helmet-23978

07/24/2023, 3:49 PM
Hey guys, I added the code for my chat bot to my website and needed some help getting it to stay at the bottom right of the screen while the user scrolls. What it is doing, is being implemented into the layout of the website and is making a huge gap in between the text. On top of that, its not fixated at the bottom right when I scroll. Not sure if it is relevant, but I am using Google Sites.

https://cdn.discordapp.com/attachments/1133063368471760927/1133063368694054973/Screenshot_2023-07-24_114430.png

f

famous-jewelry-85388

07/24/2023, 4:34 PM
@bright-magazine-792 can you help us here?
Meanwhile, did you try our https://styler.botpress.app/?
And did you check our documentation about customization? https://botpress.com/docs/cloud/webchat-customization/overview/
s

square-helmet-23978

07/24/2023, 5:36 PM
Thank you for the response Bassam, but I am still unable to get the chat box where I want it. I plugged in the code from the botpress documentation web customization section and made sure it was correct with chat gpt but still nothing.
@famous-jewelry-85388 @bright-magazine-792 I hate to be annoying and I know theres other people that need help too, but I just need this done. I think it might be something with where I am adding the code from the Botpress Documentation to the embedded code from Botpress workspace.
b

bright-magazine-792

07/25/2023, 2:29 PM
Hey! @square-helmet-23978 May I know how are you adding the webchat script to your page?
s

square-helmet-23978

07/25/2023, 2:31 PM
I am adding the script from Botpress Documentation under the embedded code from the workspace
b

bright-magazine-792

07/25/2023, 2:32 PM
Okay, I've tested this on my own google sites. I can reproduce the problem
The problem is from Google Sites' way of adding scripts. There are limited options available to add custom code. One of it is the iFrame. iFrames in google sites does not cover the entire screen, thus appears at one particular section

https://cdn.discordapp.com/attachments/1133063368471760927/1133407281711685702/image.png

s

square-helmet-23978

07/25/2023, 2:36 PM
So I am unable to get the chatbot icon to stay in the bottom right corner, while the user scrolls, using Google Sites?
Yeah thats exactly whats happening to me
b

bright-magazine-792

07/25/2023, 2:38 PM
exactly! you need to switch to other site builders who offer script injection to the entire page and not just part of it like iframes
s

square-helmet-23978

07/25/2023, 2:38 PM
Alright, thank you for the help bro
b

bright-magazine-792

07/25/2023, 2:40 PM
No problemo!