Configuration options

These settings are available on all widgets

data-allocate-palette

Valid options comma separated list of hex colours, i.e #fff,#000,#eee

The colours are as follows: primary, secondary, action

You can override the text and highlight colour for each type using the following construct:

background:foreground:highlight_background:highlight_foreground #fff:#000:#f00:#0ff

You can override the text colour for each palette member by suffixing it, #efe:#bbb

data-allocate-force-breakpoint

Valid options choose from 'lg', 'md', 'sm', 'xs'

Sets the widget to choose a different responsive breakpoint by default.

data-allocate-booking-target

Valid options a https:// url to forward the client to to make a booking via this widget. The URL specified here must include a booking widget instance.

If you have an embedded widget and you wish to forward to a new location before showing the product / zone pages, set this option to redirect to that location first. this can be useful if the original widget is in a constrained space.

data-allocate-secure-target

Valid options a URL starting with https that contains the booking widget

If a widget forward to a booking target, it will use this instead of the default (https://hotelname.allocate.co.uk/widgets/booking-offsite.html). Please note, the page targetted in this setting must contain a booking widget.

data-allocate-style-font-family-base

Valid options string representing the font to use in the widget, i.e 'CustomFont, Arial, San Serif'

data-allocate-no-chrome

Valid options "true" Do not show the title and extraneous chrome around the widget, such as the title