https://discord.gg/botpress logo
How to modify the webchat style with Webchat Style...
# šŸ¤help
w
Hello, I'm having trouble applying custom styles to the Webchat in Botpress Cloud. I've seen some tutorial videos where you can paste a "Stylesheet URL" (from https://styler.botpress.app) directly into the Webchat configuration panel. However, that option doesn't appear anymore in the current UI — the "stylesheet" field seems to be missing. I also tried pasting custom CSS directly into the Theme > Styles section. It saves correctly, but none of the styles are actually applied, especially for more advanced properties like background-image or replacing the bot avatar. I have the pay-as-you-go account. I appreciate if someone could give me some support. Thanks
p
Can you provide the advanced code you've been using? Also have you been saving your changes as you go?
w
Hello @prehistoric-airplane-85682, Regarding styler.botpress.app, is there currently a specific field in the Webchat configuration where we can paste the Stylesheet URL? As for Plan B — pasting the CSS directly into the Theme > Styles section — I’ve tried using the generated CSS from styler.botpress.app, but it doesn’t seem to work, even after saving the configuration and refreshing the page. Changes the colors and advanced styles like background-image or avatar customization are not applied at all. Thank you very much in advance https://cdn.discordapp.com/attachments/1379032455528448060/1379113187131265165/image.png?ex=683f0ebe&is=683dbd3e&hm=d4c219f07872274cc93147abf706d6649a4b10f19967dbd84754c27dd566f982& https://cdn.discordapp.com/attachments/1379032455528448060/1379113187433119744/image.png?ex=683f0ebe&is=683dbd3e&hm=6bc84aafd2828554f8ddf4b25487c699aba73af5065f31fdb4dcf82e2a81804e&
p
styler.botress.app is no longer recommended, and it's probably not working for you because the classes have changed, please refer to the styling docs for updated classes: https://botpress.com/docs/webchat/styling-your-webchat
w
Thank you @prehistoric-airplane-85682 , the updated docs worked perfectly. I have just one last question: Is it possible to replace the red circle with the letter ā€œEā€ in the header (as shown in the picture) with a custom image? I’ve tried different CSS selectors but couldn’t make it work. Do you know if there’s a specific CSS class or config field that controls it? https://cdn.discordapp.com/attachments/1379032455528448060/1379190858447978608/image.png?ex=683f5714&is=683e0594&hm=83d2ffa4ae12a678bce75889ba330cc06f8ff60925541fa59a35ab66b9bc845c&
p
Yeah that is the bot avatar you can change it in the webchat > general page
5 Views