Step 1: Access Your Dashboard
Visit the Expertise Dashboard to find the unique script for embedding the chatbot on your site.Step 2: Locate and Copy the Code
In the “Add to Website” section of the dashboard, select “iFrame” from the “Embed Using” dropdown. Click “Copy” to copy the code snippet to your clipboard. The iFrame code allows you to embed the chat as a block element on your page, with customizable dimensions and styling.Step 3: Dive into Detailed Customizations
You can adjust the overall look and position of your Block Chat Interface by changing the following in the code you copied.Dimension Adjustments
Height and Width: To control the height and width of the chatbot widget, modify theheight and width attributes in the iframe.
For example:
- Standard:
height="400"andwidth="800". - Compact:
height="300"andwidth="600".
Border & Shape
Border Color & Width: If you’d like to add a border, use theborder property.
For example:
- Thin red border:
border: 1px solid red; - Thick blue border:
border: 5px solid blue;Shape: Use theborder-radiusproperty to adjust the widget’s curvature.
- Square (No Curves):
border-radius: 0; - Slight Curve:
border-radius: 10px; - Heavy Curve:
border-radius: 20px;
Shadows & Depth
Shadow: Thebox-shadow property allows you to give a 3D appearance to your widget.
For example:
- No Shadow:
box-shadow: none; - Deep Shadow:
box-shadow: 0px 12px 24px 0px rgba(0,0,0,0.4); - Light Shadow:
box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.1);
Positioning & Spacing
Horizontal Position: Adjustmargin-left and margin-right for horizontal control.
For example:
- Center:
margin-left: auto; margin-right: auto; - Left Aligned:
margin-left: 0; - Right Aligned:
margin-right: 0;Vertical Spacing: Control space above or below the widget usingmargin-topandmargin-bottom.
- Space above:
margin-top: 20px; - Space below:
margin-bottom: 20px;
opacity property.
For example:
- 50% transparent:
opacity: 0.5; - 75% visible:
opacity: 0.75;