I’m having trouble integrating the fullscreen bot ...
# 🤝help
f
I copy pasted the code given by BotPress and changed the clientID and botID to my own and embedded it into my website however it shows up black when i launch the website, also i tried embedding my configurable code onto my website and that doesn’t seem to work either. what can i do?
f
Hey there,
You have to do it a bit differently with the V1 of the webchat
Your HTML code could look something like this:
The main difference is this styling that we added in our HTML code /* Full-screen styling for the chat widget iframe container */ .bp-widget-side { width: 100% !important; /* Full width */ height: 100vh !important; /* Full height of the viewport */ position: fixed !important; /* Fixed position relative to the viewport */ top: 0 !important; /* Align top edge with viewport */ left: 0 !important; /* Align left edge with viewport */ right: 0 !important; /* Align right edge with viewport */ bottom: 0 !important; /* Align bottom edge with viewport */ border: none !important; /* No border */ border-radius: 0 !important; /* No rounded corners for full screen */ overflow: hidden !important; /* No scrollbars */ }
r
Thank yoiu !
f
You should also change some parts of the stylesheet. Specifically .bpw-layout
To make it be full screen
Its been a while since I did it, but I think thats it
r
I am integrating the chatbot into an application, so the webchat integration is not useful to me
f
Ah okay, Lets take that in a new help post, since this one is for a website 🙂
2 Views