Breadcrumbs

Bootstrap 5.3

In the default design, you have the option to create and implement your own Bootstrap style to largely adapt the iFrame's color and appearance to your corporate identity. Modifying styles with Bootstrap requires knowledge of HTML, CSS & Bootstrap and is intended only for experts. Support for this can be found online: Bootstrap Docs.

Basic adjustments such as background and text color, font type and size, and the colors of individual buttons can be made by yourself with just a few clicks. If you have further requirements, we would be pleased to offer you a custom style based on your template. Simply send us an email at: support@edoobox.com.

Create or Modify Bootstrap Style

To create your own Bootstrap style or modify an existing one, first go to the Design Manager and select the default design. To edit existing styles, simply click on one of the existing Bootstrap styles. If you want to create a new style, click the “Addbutton located below the “Bootstrap Styles” heading.

Snag_36938ad.png
Default Design: Add Bootstrap Style

Initially, you should name your Bootstrap style, ideally something easily recognizable and memorable, such as your company's name. In our example, the style could be named edoobox-style .

Colors

Snag_1a84aa7f.png
Bootstrap Style Colors: Select Color via Color Picker

Colors can be easily adjusted by either using the Color Picker B or selecting the hex code with the help of Adobe Color CC. The main components for which you can customize colors are:

--bs-primary ="Buy Voucher Now"button and link color
--bs-success =Sign-upbutton
--bs-info =Detailsbutton
--bs-warning =Waiting listbutton
--bs-danger =Error messages / Cancel bookingbutton
--bs-white = Background colorof the iFrame
--bs-gray-900 = Globaltext colorof the iFrame
--bs-black = Navigation text color

Dimensions

Snag_36f3768.png
Bootstrap Style Dimensions: Set Default Spacing

Here you can set the default spacing (padding and margin) for the components (--bs-spacer c ) and specify the default border style (--bs-border-style d ). You can also define the radius of the button corners (--bs-border-radius e ). You can find more information about the different screen sizes here: Bootstrap 5.3 Documentation

Additional Settings

These Bootstrap variables are configuration options that enable or disable specific features and behaviors of Bootstrap. Here is an explanation for each of these variables:

Variables

Description

--bs-enable-rfs

Enables Responsive Font Sizing (RFS), which automatically adjusts font size based on viewport dimensions.

--bs-enable-caret

Enables the caret symbol (small arrow), which is often displayed in dropdowns.

--bs-enable-cssgrid

Enables CSS Grid support in Bootstrap.

--bs-enable-rounded

Enables rounded corners for elements.

--bs-enable-shadows

Enables shadow effects for Bootstrap components.

--bs-enable-dark-mode

Enables Dark Mode in Bootstrap.

--bs-enable-gradients

Enables gradients in Bootstrap components.

--bs-enable-transitions

Enables CSS transition effects in Bootstrap.

--bs-enable-grid-classes

Enables grid classes in Bootstrap.

--bs-enable-smooth-scroll

Enables smooth scrolling on the webpage.

--bs-enable-reduced-motion

Enables reduced motion for users who wish to minimize motion effects (e.g., for accessibility).

--bs-enable-button-pointers

Enables pointer (cursor) for buttons.

--bs-enable-negative-margins

Enables negative margin classes in Bootstrap.

--bs-enable-validation-icons

Enables validation icons for forms.

--bs-enable-container-classes

Enables container classes in Bootstrap.

--bs-enable-important-utilities

Enables the use of !important in Bootstrap utilities.

--bs-enable-deprecation-messages

Enables warning messages for deprecated features in Bootstrap.

Customize Font

To customize the font in the preview, you can easily do so under the Font section:


image-20241028-142630.png
Bootstrap Style Font: Customize Font

The first field with font-family-sans-serif is intended for sans-serif fonts, such as Arial, Helvetica, or Comic Sans. The second field with font-family-monospace is designated for monospaced (non-proportional) fonts. This means that each character has the same width. Examples of such fonts include Courier or Consolas.

Example: Comic Sans

If you wish to use the Comic Sans font, enter for font-family-sans-serif the following:

"Comic Sans MS", "Comic Sans"

Select a suitable font from Google Fonts (https://fonts.google.com/) and insert it.

For edoobox to actually use this new font, you can now insert this CSS code into a Code Widget within the Page Footer template in the Design Manager and adjust the value after family to your font name:

Snag_1bbd352.png
Design Manager | Footer Template: Add CSS Code to Code Widget

Here is the code you can copy:

@import url(‚https://fonts.googleapis.com/css?family=Oswald‚);

You can then replace "Oswald" with your font name.


Related Guides

Keywords for this guide

Bootstrap | CSS Code | Design Style | Design Manager