46 lines
1.1 KiB
Markdown
46 lines
1.1 KiB
Markdown
# Theme
|
|
|
|
The theme tab allows you to customize the look of your typebot.
|
|
|
|
## Custom CSS
|
|
|
|
You can also decide to customize even further by adding any custom CSS you want. For this you right-click on the bot in the Theme page and inspect the element you want to customize:
|
|
|
|
<img
|
|
src="/img/theme/custom-css.png"
|
|
alt="Custom css inspection"
|
|
/>
|
|
|
|
For example, if I want my buttons to be more rounded, and have a fancy gradient color, I can add this to the custom CSS:
|
|
|
|
```css
|
|
.typebot-button {
|
|
border-radius: 40px;
|
|
background-image: linear-gradient(to right, #e052a0, #f15c41);
|
|
border: none;
|
|
}
|
|
```
|
|
|
|
<img
|
|
src="/img/theme/fancy-button.png"
|
|
alt="Fancy button"
|
|
/>
|
|
|
|
### Customize a single button color
|
|
|
|
Thanks to custom CSS, you can customize the color of a single button for example by using the `data-itemid` attribute:
|
|
|
|
```css
|
|
[data-itemid='cl3iunm4p000f2e6gfr8cznnn'] {
|
|
background-color: gray;
|
|
border-color: gray;
|
|
}
|
|
```
|
|
|
|
To find the item ID of a button, right-click on the button and inspect the element:
|
|
|
|
<img
|
|
src="/img/theme/button-inspect.png"
|
|
alt="Button inspect"
|
|
/>
|