https://discord.gg/botpress logo
trying to customize the style of the v2 webchat us...
# 💻developers
m
Hello. Been trying to customize the style of the v2 webchat using custom CSS. And it's working. However, I have no idea what the class is for the User Messages. .bpMessageContainer changes only the colors of the messages of the Bot. Anyone gone through solving this?
w
m
@white-nest-40686 Do I place that in the CSS sheet as well? The snippet I mean?
w
To customize the user message, you must replace `incoming`with
outgoing
Copy code
css
div.bpMessageContainer[data-direction="outgoing"] div.bpMessageBlocksBubble {
   background-color: yellow
}
You need to paste the CSS into the Webchat style tab on the bot dashboard.
m
Thanks.
@white-nest-40686 Another unrelated thing: I am hating having the scroll wheel be there, is it possible to remove it?
The custom CSS i get from AI isn't hanlding it.
w
I don't understand, please paste the CSS.
2 Views