Developer/IT > Whisbi API > API Reference > Sell > Styles

Styles

The styles specific to the Guide/Sell widget

NameDescriptionRequired
body whisbi.OneToOneBodyStylesConfig The styles of the OTO body of the templates Optional
liveHelpRibbon whisbi.OneToOneLiveHelpRibbonStylesConfig The styles of the label placed above the agent’s image on the floating button. Optional
floatingButton whisbi.OneToOneFloatingButtonStylesConfig An object containing the floating button config Optional

Body styles

The styles of the One-to-One templates

NameDescriptionRequired
backgroundColor String The background color of the Guide/Sell widget. This background is always visible except when the video walk or some media is being shared during a Guide/Sell session. It uses the same format as the CSS property background-color. Optional
backgroundImage whisbi.BackgroundImageConfig Background image of the Guide/Sell widget. Applies in the same cases as backgroundColor. Optional

Background image

A background image configuration

NameDescriptionRequired
url String The URL of the background image Mandatory
repeat String The value of the CSS background-repeat property for the background image. Optional
Default: repeat
size String The value of the CSS background-size property for the background image. Optional
Default: auto
position String The value of the CSS background-position property for the background image. Optional
Default: center

Live Help Ribbon styles

The styles of the label placed above the agent’s image on the floating button.

NameDescriptionRequired
backgroundColor String The background color of the label Optional
textColor String The text color color of the label Optional

Floating Button

The styles of the floating button

NameDescriptionRequired
onMobile whisbi.OneToOneFloatingButtonOnMobileConfig An object containing the behavior properties of the widget when the page loads on mobile. Optional

Maximum Agents Floating button

The styles of the floating button

NameDescriptionRequired
maxUserPictures string Maximum number of agent images to be displayed within the floating button Optional
Default: 3