About this feature: Floating widget
Show floating widget
Field type:
Select
Available values:
• don't show
• show
Default value:don't show
Path to the configuration:
Tab "Extensions" => Block "Floating widget"
Technical name:twt-floating-widget-show
Shows the ThemeWare® "Floating/Slideout widget".
To edit or translate the content please use the following snippet: twt.extension.floatingWidget.body
You can find more information in our manual.
Show floating widget @Phone (<768px)
Displayed name:
Show floating widget Phone (<768px)
Field type:
Select
Available values:
• don't show
• show
Default value:don't show
Path to the configuration:
Tab "Extensions" => Block "Floating widget"
Technical name:twt-floating-widget-mobile
Basic configuration
Position
Field type:
Select
Available values:
• left
• right
Default value:left
Path to the configuration:
Tab "Extensions" => Block "Floating widget" => Section "Basic configuration"
Technical name:twt-floating-widget-position
Hover effect
Field type:
Select
Available values:
• no effect
• pull out
• reduce opacity
Default value:pull out
Path to the configuration:
Tab "Extensions" => Block "Floating widget" => Section "Basic configuration"
Technical name:twt-floating-widget-hover-type
Show overlay (if opended)
Field type:
Select
Available values:
• don't show
• show
Default value:don't show
Path to the configuration:
Tab "Extensions" => Block "Floating widget" => Section "Basic configuration"
Technical name:twt-floating-widget-backdrop
Show opened (when the page has been loaded)
Field type:
Select
Available values:
• no
• yes
Default value:no
Path to the configuration:
Tab "Extensions" => Block "Floating widget" => Section "Basic configuration"
Technical name:twt-floating-widget-show-opened
Animate (when the page has been loaded)
Field type:
Select
Available values:
• no animation
• Wobble (3x)
Default value:no animation
Path to the configuration:
Tab "Extensions" => Block "Floating widget" => Section "Basic configuration"
Technical name:twt-floating-widget-animation
Link widget
Field type:
Select
Available values:
• no
• yes
• yes (open in new tab)
Default value:no
Path to the configuration:
Tab "Extensions" => Block "Floating widget" => Section "Basic configuration"
Technical name:twt-floating-widget-link
To edit or translate the link please use the following snippet: twt.extension.floatingWidget.link
Width (Widget)
Field type:
Number field
Available values:
48 to 600
Default value:400
Path to the configuration:
Tab "Extensions" => Block "Floating widget" => Section "Basic configuration"
Technical name:twt-floating-widget-width
Height (Widget)
Field type:
Number field
Available values:
48 to 600
Default value:300
Path to the configuration:
Tab "Extensions" => Block "Floating widget" => Section "Basic configuration"
Technical name:twt-floating-widget-height
Width (Tab)
Field type:
Number field
Available values:
48 to 600
Default value:200
Path to the configuration:
Tab "Extensions" => Block "Floating widget" => Section "Basic configuration"
Technical name:twt-floating-widget-title-width
Height (Tab)
Field type:
Number field
Available values:
10 to 100
Default value:40
Path to the configuration:
Tab "Extensions" => Block "Floating widget" => Section "Basic configuration"
Technical name:twt-floating-widget-title-height
Padding (Content)
Field type:
Number field
Default value:20
Path to the configuration:
Tab "Extensions" => Block "Floating widget" => Section "Basic configuration"
Technical name:twt-floating-widget-padding
Content alignment (vertical)
Field type:
Select
Available values:
• align top
• align center
• align bottom
Default value:align center
Path to the configuration:
Tab "Extensions" => Block "Floating widget" => Section "Basic configuration"
Technical name:twt-floating-widget-align-items
To edit or translate the content please use the following snippet: twt.extension.floatingWidget.body
Content alignment (horizontal)
Field type:
Select
Available values:
• align left
• align center
• align right
Default value:align center
Path to the configuration:
Tab "Extensions" => Block "Floating widget" => Section "Basic configuration"
Technical name:twt-floating-widget-justify-content
If the text runs across the Full-width of the widget, the alignment has no visual effect.
To edit or translate the content please use the following snippet: twt.extension.floatingWidget.body
Distance from bottom
Field type:
Text field
Default value:20
Path to the configuration:
Tab "Extensions" => Block "Floating widget" => Section "Basic configuration"
Technical name:twt-floating-widget-side-bottom-distance
Distance from bottom (Unit)
Field type:
Select
Available values:
• % (Percent)
• px (Pixel)
Default value:% (Percent)
Path to the configuration:
Tab "Extensions" => Block "Floating widget" => Section "Basic configuration"
Technical name:twt-floating-widget-side-bottom-distance-unit
Colour configuration
Text colour
Field type:
Colour picker
Default value:#333333
Path to the configuration:
Tab "Extensions" => Block "Floating widget" => Section "Colour configuration"
Technical name:twt-floating-widget-color
Link colour
Field type:
Colour picker
Default value:$sw-color-brand-primary
Path to the configuration:
Tab "Extensions" => Block "Floating widget" => Section "Colour configuration"
Technical name:twt-floating-widget-link-color
Link colour @hover
Displayed name:
Link colour :hover
Field type:
Colour picker
Default value:$twt-color-brand-primary-dark
Path to the configuration:
Tab "Extensions" => Block "Floating widget" => Section "Colour configuration"
Technical name:twt-floating-widget-link-color-hover
Background colour (Widget)
Field type:
Colour picker
Default value:#ffffff
Path to the configuration:
Tab "Extensions" => Block "Floating widget" => Section "Colour configuration"
Technical name:twt-floating-widget-background-color
Text colour (Tab)
Field type:
Colour picker
Default value:#ffffff
Path to the configuration:
Tab "Extensions" => Block "Floating widget" => Section "Colour configuration"
Technical name:twt-floating-widget-title-color
Background colour (Tab)
Field type:
Colour picker
Default value:$sw-color-brand-primary
Path to the configuration:
Tab "Extensions" => Block "Floating widget" => Section "Colour configuration"
Technical name:twt-floating-widget-title-background-color
Background-image
Background image
Field type:
Media selection
Default value:
(empty)
Path to the configuration:
Tab "Extensions" => Block "Floating widget" => Section "Background-image"
Technical name:twt-floating-widget-background-image
Display mode
Field type:
Select
Available values:
• Original (Standard)
• Fixed height (Contain)
• Cropped (Cover)
Default value:Original (Standard)
Path to the configuration:
Tab "Extensions" => Block "Floating widget" => Section "Background-image"
Technical name:twt-floating-widget-background-image-object-fit
Select the desired display mode.
Original (Standard)
The image is displayed in its original resolution or is shrunk down to the current width of the content element.
Cropped (Cover)
The size of the image is adjusted so that the aspect ratio is retained and the entire content element is filled. Any overflow is cropped.
Scaled (Stretch)
The image is scaled to the width of the content element without any height restrictions.
Typography
Font size
Field type:
Number field
Available values:
8 to 80
Default value:16
Path to the configuration:
Tab "Extensions" => Block "Floating widget" => Section "Typography"
Technical name:twt-floating-widget-font-size
Font size (Tab)
Field type:
Number field
Available values:
8 to 80
Default value:18
Path to the configuration:
Tab "Extensions" => Block "Floating widget" => Section "Typography"
Technical name:twt-floating-widget-title-font-size
Text alignment
Field type:
Select
Available values:
• align left
• align center
• align right
Default value:align center
Path to the configuration:
Tab "Extensions" => Block "Floating widget" => Section "Typography"
Technical name:twt-floating-widget-text-align
Text alignment when the text wraps.
Text formatting (Tab)
Field type:
Select
Available values:
• none
• uppercase
• lowercase
• capitalize
Default value:none
Path to the configuration:
Tab "Extensions" => Block "Floating widget" => Section "Typography"
Technical name:twt-floating-widget-title-text-transform