4 Replies
You can’t swap the minimise arrow from the widget settings panel yet, but the icon is just a normal DOM element, so one CSS override is all you need.
1️⃣ Add (or link) a small stylesheet when you load the widget
How it works
•
.vfrc-header .vfrc-icon is the arrow element – we hide it.
• We then use a ::after pseudo-element on the header to render the Unicode “×”. (Swap for an SVG with background-image: if you prefer a custom graphic.)
You can keep the CSS in a separate file and reference it with assistant.stylesheet instead of the inline string—whichever is easier for your setup.
Docs: Custom web-chat styling → targeting .vfrc-* classes
https://docs.voiceflow.comjust tried embedding the rules directly but it didn't work - are those css classes correct?
might be the old ones. just inspect the button and then update the code above.
figured it out - you were right @W. Williams (SFT)
for anyone that wants to change this, the class is .vfrc-widget
