A floating button bar (floating widget) on your website
You add a floating button bar under My company → Integrations → Floating widgets → New floating widget. Add up to 4 buttons that open one of your embedded widgets or a custom URL, then paste the Embed code in a part of your site that appears on every page, such as the footer.
Creating a floating widget
First create the embedded widgets the buttons should open, for example a schedule and a shop.
Go to My company → Integrations → Floating widgets and click New floating widget.
Give it a Name and click Create.
Under Buttons, click Add button and fill in the button (see below). Repeat this for each button.
Click Save and copy the code under Embed code to your website. Paste it in a part that appears on every page, such as the footer.
The buttons
Option | What happens |
|---|---|
Type | Widget opens one of your embedded widgets. Custom URL goes to a link you enter yourself. |
Widget | Which embedded widget the button opens. Each widget can only be opened by one button. |
Label | The text on the button, up to 20 characters |
Background color and Text color | The colors of this one button |
You can add up to 4 buttons. Drag them to change the order.
Note: If you don't have any embedded widgets yet, buttons can only open a custom URL.
More settings and styling
Referral and Redirect URL work the same as for a normal widget (Pro and Premium). See Sending clients to your own page.
Show Trainin logo puts the Trainin logo in the bar.
Under Styling you choose the Button size, the Box shadow and whether there is a border around the bar and the window. With Override styling defaults you give this bar its own colors and rounded corners. See Changing the style of your widgets.
Under Preview you see the bar on Mobile and Desktop. Under Domains you set which websites your widgets can be on; this applies to all your widgets.
Note: Changed the floating widget? Replace the code on your website with the new code.
Read also
Putting your schedule and shop on your website with a widget
You put your schedule or shop on your website under My company → Integrations → Embedded widgets → New widget. Choose Schedule or Shop, set what it shows, then copy the Embed code into your website so visitors book and pay without leaving your site. Referral and Redirect URL are included in the Pro and Premium plans.
Changing the style of your widgets
You change the style of all your widgets under My company → Integrations → Styling defaults, with options such as Font, Text size, colors and Button radius. For a single widget, turn on Override styling defaults under Styling. Afterwards, put the new embed code on your website.
Sending clients to your own page
You send clients to your own page after a purchase or booking by entering a Redirect URL under More settings on a widget, or by adding ?redirect= to a link to your schedule or shop. Placeholders such as {orderAmountInVat} pass purchase details on. Setting a redirect on a widget is available in the Pro and Premium plans.
