https://discord.gg/botpress logo
report_01JS4ZNWK24CXWGZABZZ98QSX1
# 🤝help
p
Trying to change the height of the Webchat window with the following css but it leaves a layer with the shadow. How do I correctly adjust the window? .bpContainer { width: 400px; height: min(400px, calc(100% - 120px)); position: fixed !important; bottom: 0; } https://cdn.discordapp.com/attachments/1362859442525180237/1362859443049599076/Screenshot_2025-04-18_at_11.25.24_AM.png?ex=6803ed43&is=68029bc3&hm=fa2d9ddfb772c18bcb0713c5b3adfe3efb8c1bca7aca6e73bc9900b8a8cbd921&
i
I have the same issue and can't add a custom picture to be the chatbot icon. all CSS I added dissappeared and no longer working if pasted
This fixed the custom pic for the icon by searching in this forum, for container I have your issue with white space above the header, I tried many fixes but non of them works. .bpFabIcon { background-image: url("your image"); -webkit-mask: unset; mask: unset }
p
Since I couldn't find css class on the Botpress side, I ended up adding the following on the Wordpress side and it fixed it. I'm not sure if it's the correct way through. iframe.bpOpen.bpWebchat.bpReset { height: 500px !important; }
i
@prehistoric-answer-10919 it doesn't work for me. I don't know why!
@orange-egg-72655 Kindly advise
w
on your css site try this:
Copy code
css
.bpWebchat{
  width: 400px;
  height: min(400px, calc(100% - 120px));
  position: fixed !important;
  bottom: 0;
}
you only need to work on webchat iframe
i
still doesn't work
w
where are you insert css code?