Navigation

ThemeWare® Manual

Configuration


Show announcement banner

Field type:
Select

Available values:
• don't show
• show

Example value:
don't show

Path to the configuration:
Tab "Extensions" => Block "Announcement banner (in the header)"

Technical name:
twt-announcement-banner-show

Shows the ThemeWare® "Announcement banner".

To edit or translate the text please use the following snippet: twt.extension.announcementBanner.content

Basic configuration


Closable

Field type:
Select

Available values:
• no
• yes

Example value:
no

Path to the configuration:
Tab "Extensions" => Block "Announcement banner (in the header)" => Section "Basic configuration"

Technical name:
twt-announcement-banner-closable

Determine whether the banner can be closed by the visitor.

Hinweis: This configuration only applies to the Shopware cookie permission from Shopware.


Start date

Field type:
Date picker

Example value:
``

Path to the configuration:
Tab "Extensions" => Block "Announcement banner (in the header)" => Section "Basic configuration"

Technical name:
twt-announcement-banner-start-date


End date

Field type:
Date picker

Example value:
``

Path to the configuration:
Tab "Extensions" => Block "Announcement banner (in the header)" => Section "Basic configuration"

Technical name:
twt-announcement-banner-end-date


Field type:
Select

Available values:
• no
• yes

Example value:
yes

Path to the configuration:
Tab "Extensions" => Block "Announcement banner (in the header)" => Section "Basic configuration"

Technical name:
twt-announcement-banner-link

To edit or translate the link please use the following snippet: twt.extension.announcementBanner.link


Field type:
Select

Available values:
• no
• yes

Example value:
no

Path to the configuration:
Tab "Extensions" => Block "Announcement banner (in the header)" => Section "Basic configuration"

Technical name:
twt-announcement-banner-link-newtab


Field type:
Select

Available values:
• no
• yes

Example value:
yes

Path to the configuration:
Tab "Extensions" => Block "Announcement banner (in the header)" => Section "Basic configuration"

Technical name:
twt-announcement-banner-link-nofollow

Colour configuration


Text colour

Field type:
Color picker

Example value:
#ffffff

Path to the configuration:
Tab "Extensions" => Block "Announcement banner (in the header)" => Section "Colour configuration"

Technical name:
twt-announcement-banner-color


Background colour

Field type:
Color picker

Example value:
$sw-color-brand-primary

Path to the configuration:
Tab "Extensions" => Block "Announcement banner (in the header)" => Section "Colour configuration"

Technical name:
twt-announcement-banner-background-color

Typography


Font size

Field type:
Number field

Example value:
14

Path to the configuration:
Tab "Extensions" => Block "Announcement banner (in the header)" => Section "Typography"

Technical name:
twt-announcement-banner-font-size


Text formatting

Field type:
Select

Available values:
• none
• uppercase
• lowercase
• capitalize

Example value:
none

Path to the configuration:
Tab "Extensions" => Block "Announcement banner (in the header)" => Section "Typography"

Technical name:
twt-announcement-banner-text-transform


Font weight

Field type:
Select

Available values:
• light
• normal
• bold

Example value:
normal

Path to the configuration:
Tab "Extensions" => Block "Announcement banner (in the header)" => Section "Typography"

Technical name:
twt-announcement-banner-font-weight

Last updated on

This page online: https://docs.themeware.design/manual/extensions/announcement-banner-in-the-header/configuration · ThemeWare® Service Portal, service.themeware.design