Chatbot and Button widget customization

Everything works except for actually hiding the Ai Chat button it instead hides the button widget. Any code to change this? I’ve tried changing CSS class to the class in the JS without any luck.

2 Likes

Hi @Shawn_Martin1 :waving_hand:

Could you please send us a link to the page, where your AI Chatbot and Button widgets are installed?

1 Like

Yes sure will here it is… was also looking for the button widget CSS to add padding to the left and right to match up the button above it?

[

Chanticlear Pizza - Pizza Restaurant • Isanti, MN 55040
app.vrtz.cc

](https://app.vrtz.cc/vcard-template)

Thanks Max!

2 Likes

Thank you!

We’ve added this code to the AI Chatbot widget:

[class*="FloatingButton__FloatingButtonContainer-sc"] {
  visibility: hidden;
}

[class*="shadow__ShadowContainer-sc"] {
  height: auto !important;
}

And this code was added to the Custom CSS field of your Button widget:

[class*="ButtonBase__ButtonContainer-sc"] {
  width: 80%;
}

Please check it out and let me know if everything is fine :slightly_smiling_face:

2 Likes

That’s awesome Max! Thank you. What is the class to add hover effects? Would like to add text-decoration: underline to it?

2 Likes

Could you please specify what text should be underlined?

1 Like

The words “Ai Chat” inside the button only on hover.

2 Likes

Please try to use this CSS code and let me know if it helped :slightly_smiling_face:

[class*="ButtonInner__ButtonLabel-sc"]:hover {
  text-decoration: underline;
}