https://discord.gg/botpress logo
CSS for Webchat. Format? How to test?
# 🤝help
m
I've been trying to change my bot's look via CSS. None of it is working for me in the preview next to the CSS code window. Any guide on how to do this?
p
Are you saving your changes?
m
@prehistoric-airplane-85682 yes, I click on the Save Configuration button. Could you provide me with a sample style script that works for you?
Following code works (as an example): .bpHeaderContentContainer { padding: 12px; display: flex; align-items: center; gap: 10px; } .bpHeaderContentAvatarImage { width: 40px; height: 40px; object-fit: cover; content: url('your image link') }
p
Did you get it to work?
m
Yes I did eventually. Thanks!