Skip to main content
amadeo
Contributor ⭐️⭐️⭐️
Apr 26, 2023 6:20 PM UTC
New Idea

Resize the KC bot close button

Related products:PX In-App Hub (formerly KC Bot)

Users complain the X close button in the KC bot is too small and they are having a hard time closing it. Please allow me the ability to set a size for the close button. Alos, allow me to set its color as well.

9 replies

mmarques
Helper ⭐️⭐️
Jul 28, 2023 3:40 PM UTC

There are several sizes of “X” that you can choose from

Translate
amadeo
amadeoAuthor
Contributor ⭐️⭐️⭐️
Nov 20, 2023 3:02 PM UTC

@mmarques where do I select the size of X for a KC bot?

Translate
Helper ⭐️
Nov 23, 2023 10:44 PM UTC

@amadeo - Go to CSS and change the background size of the .px-close button.

I have the following for mine: 
.px-close-button {
  margin-top:8px;
  margin-right:8px;
  background-size:40px 40px;
  

Not sure if you can change the color.

Translate
mmarques
Helper ⭐️⭐️
Nov 27, 2023 9:35 PM UTC

@amadeo - Here is where you can select the “X” in a KC bot. I think that they are different sizes.

 

 

@ejung - Where do you set the CSS for a KC bot? I would love to be able to control branding by CSS! Instead, I have detailed instructions for the team on how to select all the right colors and other settings. 

Translate
Helper ⭐️
Nov 27, 2023 9:38 PM UTC

@amadeo @mmarques - I was wrong. There is no CSS for the KC bot. 

Looks like some of the KC bot editing settings (including the different X styles) are not available if you embed the KC bot.

 

Translate
mmarques
Helper ⭐️⭐️
Nov 27, 2023 9:50 PM UTC

When not embedded, the X replaces the badge icon. If you are embedding, can you add your own control that closes the bot? 

Translate
amadeo
amadeoAuthor
Contributor ⭐️⭐️⭐️
Nov 30, 2023 6:59 PM UTC

@mmarques thank you for the suggestions, although they won’t work for us. We use an embedded KC bot, which also has a tiny X to close in the top right corner of the KC bot.

Translate
mmarques
Helper ⭐️⭐️
Nov 30, 2023 7:04 PM UTC

@amadeo - I didn’t realize that embedded has an X in the upper right. I actual have an idea in Community to add an X in the upper right. That X is not yet part of non-embedded, and everyone is initially confused by having to look below.

Translate
aharkut
Gainsight Employee ⭐️
Gainsight Employee ⭐️
Feb 13, 2024 1:42 PM UTC

Hi @amadeo we are looking into this and we are working on some enhancements to the Bot from a customisation point of view. For the “X” icon we are trying to bring in parity in both Embedded and Floater bot where in former there are no customisation options and in the latter the “X” icon is not available on the top-right of the Bot. So we have this on pipeline to bridge the parity.

 

Thanks 

Translate