Custom CSS Examplesπ¨ β
You can personalize the look and feel of your Videobot by applying your own CSS styles. These changes apply globally across the entire Videobot interface β not just individual videos.
Elements you can customize include:
π Fonts, text sizes, and text color
π― Button colors, including the main action button
π§© Button size and roundness
π Background colors for different UI elements
π Explore the examples below to start styling your Videobot with custom CSS.
π€ Background colors β
π¨ Example: Customizing Videobot Background β
.videobot-main {
background: red; /* Choose your color */
}
π€ Fonts β
You can apply custom fonts to your Videobot by defining them using @font-face
in your CSS.
All videobot text with a custom font: β
@font-face {
font-family: 'Custom Font';
src: url('https://...');
}
.videobot {
font-family: 'Custom Font', sans-serif;
}
Action buttons with a custom font: β
@font-face {
font-family: 'Custom Font';
src: url('https://...');
}
.button {
font-family: 'Custom Font', sans-serif;
}
.button.is-primary:before {
font-family: 'Custom Font', sans-serif;
}
.button:before {
font-family: 'Custom Font', sans-serif;
}
Note: If you're using a licensed or custom font, you'll need to host it yourself unless it's freely available.
If you need help with font hosting, feel free to contact our Customer Success Team β we're happy to assist.
ποΈ Font Size and Color β
You can also customize text size and color across your Videobot using standard CSS.
βοΈ Example: Changing Font Size β
You can target elements like .button
or apply global styles via .videobot
.
.videobot {
font-size: 16px;
}
.button {
font-size: 14px;
}
π¨ Example: Changing Text Color β
You can apply text color globally or to specific components:
.videobot {
color: #222222; /* Main text color */
}
.button {
color: #ffffff;
}
.button.is-primary {
color: #ffffff;
background-color: #007BFF; /* Optional background change */
}
π‘ Tip: When applying global font styles, always use the
.videobot
class to ensure consistent styling across all embedded videos.
π Button Styling β
You can easily adjust the look and feel of buttons in your Videobot using CSS. This includes customizing their height, width, border radius, and background color.
π Example: Adjusting Button Height and Width β
.button {
height: 2rem;
width: 8rem;
}
π£ Example: Changing Button Border Radius β
.button {
border-radius: 0.5rem;
}
π¨ Example: Setting Button Background Color β
.button {
background-color: #4CAF50;
}
π‘ Tip: Use
!important
sparingly and only when necessary to override existing styles.
π§Ύ Form Styling β
You can customize the appearance of UI elements in the Videobot, such as the contact form. Below is an example of how to style the form background and submission button.
π¨ Example: Customizing Form Background β
.form-wrapper {
background-image: none;
background-color: #00798F;
}
π Example: Styling the Submit Button β
.button.form-submit {
background-color: white;
}
.button.form-submit:before {
background-color: white;
}
button.form-submit > span {
color: #00798F;
}
This example sets a solid background color for the form and inverts the submit button to a white background with colored text for a clean, branded look.
π οΈ Advanced Customization β
Videobot is built with flexibility in mind β nearly every visual element can be customized with CSS, as long as you know the class name used in the component.
π How to Find Class Names β
To customize a specific element:
- Open your Videobot in a browser.
- Right-click the area you want to modify and select Inspect.
- Use the browserβs Developer Tools to view the HTML structure and find the relevant class names.
Once you have the class name, you can write CSS rules to target and style it however you like.
π€ Need Help? β
If youβre looking to apply advanced customizations or canβt locate the right class, donβt worry β our Customer Success Team is here to help. Just reach out, and weβll assist you in finding the correct selectors or even help with writing the CSS.
π‘ With the right CSS, you can tailor the Videobot experience to perfectly match your brandβs look and feel.