AI Shopping Assistant
Page actions
Couldn’t copy. Open the Markdown to copy it manually.
Customize the chat with CSS
Add custom CSS to fix overlaps with your theme or restyle the chat and the Product Questions block.
Use custom CSS when the chat settings can’t fix how the chat fits your theme, for example when the chat bar covers your cart drawer. The CSS applies to the chat bar or button, the chat window and the Product Questions block. It goes inside each of them, so a rule on :host changes all of them. For example, hiding :host on phones also hides the Product Questions block.
Try the settings first. To move the chat, switch to a button, or change its Position or Distance from the bottom. See Choose how the chat opens. To hide the chat on phones or on some pages, choose where the chat bar appears.
Add custom CSS
- In Brandye, open AI Product Questions.
- Under Setup, open Appearance.
- Open the Chat look tab.
- Enter your CSS under Custom CSS.
- Check the preview beside the settings.
- Click Save.
Open your storefront on a computer and on a phone to check the result.
Put the chat bar under your cart drawer
The chat bar sits above everything on the page by default. To place it under most cart drawers, open Examples under Custom CSS, then copy Set the chat bar’s z-index to 50:
:host {
--brandye-chat-bar-z-index: 50;
}
If the bar still covers your cart drawer, use a lower number.
Get help with your CSS
Click Request help under Custom CSS to ask the Brandye team, through the support chat, to match the chat to your theme. You can also contact Brandye support.