The section is static, it is added initially and cannot be removed. This is done so that the Announcement bar in the DOM is higher than the Header.
Layout
- the setting is responsible for choosing the type of display. There are three options to choose from:
Simple text
- plain text will be displayed, the settings for it are below in the Simple text block;
Countdown timer
- a countdown timer will be displayed, the settings for it are below in the Countdown timer block;
Ticker
- a text will be displayed like a ticker.
Show close button
- the setting is responsible for displaying a cross to hide the announcement bar;
Background image
- the setting allows you to add a background image;
Background image type
- the setting allows you to select the type of background image display:
Stretch
- this setting will stretch the image across the width of the entire block;
Repeat
- this setting will make the picture repeat, the number of repetitions depends on the width of the picture.
Additional phone
- the setting is responsible for displaying social icons;
Additional menu
- the setting is responsible for displaying links.
If you want to display a carousel in the announcement bar, please add blocks to the section.
Enable autoplay
- the setting allows you to enable autoplay for the carousel;
Autoplay speed
- the setting allows you to change the autoplay speed of the carousel.
Text desktop
- the setting allows you to set the text content for Desktop;
Text mobile
- the setting allows you to set the text content for Mobile. If the content is empty, the content will be taken from the Desktop version.
Text desktop
- the setting allows you to set the text content for Desktop;
Text mobile
- the setting allows you to set the text content for Mobile. If the content is empty, the content will be taken from the Desktop version.
Year
- the setting allows you to set the years until the end of the countdown;
Month
- the setting allows you to set the months until the end of the countdown;
Day
- the setting allows you to set the days until the end of the countdown;
Hour
- the setting allows you to set the hours until the end of the countdown;
Timezone
- the setting allows you to set the Timezone of the countdown;
Button label
- the setting allows you to set the button label;
Button link
- the setting allows you to set the button link.
Hide bullets
- the setting allows you to hide bullets between sentences;
Text
- the setting allows you to set the text of the ticker;
Movement speed (desktop)
- the setting allows you to set the ticker animation speed on the desktop;
Movement speed (mobile)
- the setting allows you to set the ticker animation speed on the mobile.
Background
- the setting allows you to set the section background color;
Text
- the setting allows you to set the text color;
Timer text
- the setting allows you to set the timer text color;
Arrow
- the setting allows you to set the arrow color;
Link
- the setting allows you to set the link color;
Button label
- the setting allows you to set the button label color;
Button background
- the setting allows you to set the button background color;
Button border
- the setting allows you to set the button border color;
Button label (hover)
- the setting allows you to set the button label color on hover;
Button background (hover)
- the setting allows you to set the button background color on hover;
Button border (hover)
- the setting allows you to set the button border color on hover;
Button close
- the setting allows you to set the color of the close button;
Button close (hover)
- the setting allows you to set the color of the close button on hover;
Social icon
- the setting allows you to set the color of the social icons;
Social icon (hover)
- the setting allows you to set the color of the social icons on hover.
You can add a block Announcement, to the section. If blocks are added, then a carousel will be shown.
The content of the carousel slides can be a Simple text or a Countdown timer.
The settings of the Simple text and the Countdown timer are the same as in the general settings.
When closing the Announcement bar, it is hidden and will be shown only if you close the tabs and open the store again.
The closing data is added to the Session Storage with the name - showAnnouncementBar.
If you set an incorrect date, the timer will not start and will remain with zero values.
When the timer expires, zero values remain.