Navigation

ThemeWare® Manual

Configuration

Theme configuration fields for the cookie notice in the Content tab, such as its visibility and banner, card or modal layout types.

Applies to ThemeWare® 5.6.0 · Checked on


Field type:
Select

Available values:
• don't show
• show (default)

Default value:
show (default)

Path to the configuration:
Tab "Content" => Block "Cookie permission"

Technical name:
twt-cookie-permission-show

Basic configuration


Layout type

Field type:
Select

Available values:
• Banner: bottom (default)
• Banner: top
• Card: bottom right
• Modal: bottom (with overlay)
• Modal: bottom right (with overlay)
• Modal: centered (with overlay)
• Modal: top (with overlay)

Default value:
Banner: bottom (default)

Path to the configuration:
Tab "Content" => Block "Cookie permission" => Section "Basic configuration"

Technical name:
twt-cookie-permission-position


Padding [px]

Field type:
Number field

Available values:
1 to 100

Default value:
10

Path to the configuration:
Tab "Content" => Block "Cookie permission" => Section "Basic configuration"

Technical name:
twt-cookie-permission-padding


Drop shadow

Field type:
Text field

Default value:
0 0 30px

Path to the configuration:
Tab "Content" => Block "Cookie permission" => Section "Basic configuration"

Technical name:
twt-cookie-permission-box-shadow

CSS box-shadow Property (e.g. '0 0 30px').


Shadow colour

Field type:
Colour picker

Default value:
rgba(0, 0, 0, 0.2)

Path to the configuration:
Tab "Content" => Block "Cookie permission" => Section "Basic configuration"

Technical name:
twt-cookie-permission-box-shadow-color


Background colour (Overlay)

Field type:
Colour picker

Default value:
rgba(0, 0, 0, 0.5)

Path to the configuration:
Tab "Content" => Block "Cookie permission" => Section "Basic configuration"

Technical name:
twt-cookie-permission-overlay-color

Select the desired background colour of the overlay (backdrop).

Layout type:
- Modal with overlay


Glass effect [px] (overlay)

Field type:
Number field

Available values:
0 to 10

Default value:
0

Path to the configuration:
Tab "Content" => Block "Cookie permission" => Section "Basic configuration"

Technical name:
twt-cookie-permission-overlay-effect-blur

Enter the desired value for the blur effect of the overlay (backdrop).

Layout type:
- Modal with overlay


Spacing top [px]

Field type:
Number field

Available values:
1 to 100

Default value:
40

Path to the configuration:
Tab "Content" => Block "Cookie permission" => Section "Basic configuration"

Technical name:
twt-cookie-permission-top

Layout type:
- Modal: top (with overlay)


Spacing left [px]

Field type:
Number field

Available values:
1 to 100

Default value:
25

Path to the configuration:
Tab "Content" => Block "Cookie permission" => Section "Basic configuration"

Technical name:
twt-cookie-permission-left

This configuration is deprecated and will be removed soon


Spacing bottom [px]

Field type:
Number field

Available values:
1 to 100

Default value:
40

Path to the configuration:
Tab "Content" => Block "Cookie permission" => Section "Basic configuration"

Technical name:
twt-cookie-permission-bottom

Layout type:
- Card: bottom right
- Modal: bottom (with overlay)
- Modal: bottom right (with overlay)


Spacing right [px]

Field type:
Number field

Available values:
1 to 100

Default value:
25

Path to the configuration:
Tab "Content" => Block "Cookie permission" => Section "Basic configuration"

Technical name:
twt-cookie-permission-right

Layout type:
- Card: bottom right
- Modal: bottom right (with overlay)


Width

Displayed name:
Sizing mode

Field type:
Select

Available values:
• Container-Max-Width (Full-width Boxed)
• 100% (Full-width)

Default value:
Container-Max-Width (Full-width Boxed)

Path to the configuration:
Tab "Content" => Block "Cookie permission" => Section "Layout type: 'Banner: bottom (default)' and 'Banner: top'"

Technical name:
twt-cookie-permission-width

Select the sizing mode of the "Cookie permission".

Layout type:
- Banner: bottom (default)
- Banner: top

Card: bottom right


Maximum width [px]

Field type:
Text field

Default value:
260

Path to the configuration:
Tab "Content" => Block "Cookie permission" => Section "Layout type: 'Card: bottom right'"

Technical name:
twt-cookie-permission-max-width

Layout type:
- Card: bottom right

Colour configuration


Field type:
Colour picker

Default value:
#555555

Differs in design variants:
• Clean, Strong: #333333
• Living: $sw-color-brand-primary
• Outdoor: #111111

Path to the configuration:
Tab "Content" => Block "Cookie permission" => Section "Colour configuration"

Technical name:
twt-cookie-permission-color


Border colour

Field type:
Colour picker

Default value:
#cccccc

Differs in design variants:
• Clean, Strong: #eeeeee
• Outdoor: #eaeaf0

Path to the configuration:
Tab "Content" => Block "Cookie permission" => Section "Colour configuration"

Technical name:
twt-cookie-permission-border-color


Background colour

Field type:
Colour picker

Default value:
#ffffff

Path to the configuration:
Tab "Content" => Block "Cookie permission" => Section "Colour configuration"

Technical name:
twt-cookie-permission-background-color


Colour (Button "Deny")

Field type:
Colour picker

Default value:
$sw-border-color

Path to the configuration:
Tab "Content" => Block "Cookie permission" => Section "Colour configuration"

Technical name:
twt-cookie-permission-deny-btn-background-color

The "Deny" button should not use a striking color.


Colour (Button "Configure")

Field type:
Colour picker

Default value:
$sw-color-brand-secondary

Path to the configuration:
Tab "Content" => Block "Cookie permission" => Section "Colour configuration"

Technical name:
twt-cookie-permission-configuration-btn-background-color


Colour (Button "Accept all cookies")

Field type:
Colour picker

Default value:
$sw-color-brand-primary

Path to the configuration:
Tab "Content" => Block "Cookie permission" => Section "Colour configuration"

Technical name:
twt-cookie-permission-accept-all-btn-background-color

Last updated on

More from ThemeWare®: About ThemeWare® · Demoshops · Knowledge base · Video tutorial · Utilities

This page online: https://docs.themeware.design/manual/content/cookie-permission/configuration · ThemeWare® Service Portal, service.themeware.design