A floating button bar (floating widget) on your website

A floating widget is a bar with buttons that stays on your website, even when a visitor scrolls or goes to another page. A button opens one of your embedded widgets in a window on top of your site, or goes to a link you choose.

Creating a floating widget

  1. First create the embedded widgets the buttons should open, for example a schedule and a shop.
  2. Go to My company → Integrations → Floating widgets and click New floating widget.
  3. Give it a Name and click Create.
  4. Under Buttons, click Add button and fill in the button (see below). Repeat this for each button.
  5. 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 of a floating widget

The buttons of a floating widget

The buttons

OptionWhat happens
TypeWidget opens one of your embedded widgets. Custom URL goes to a link you enter yourself.
WidgetWhich embedded widget the button opens. Each widget can only be opened by one button.
LabelThe text on the button, up to 20 characters
Background color and Text colorThe 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.