> ## Documentation Index
> Fetch the complete documentation index at: https://docs.digifist.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Announcement bar

> Display important messages and promotions at the top of your store with carousel, dropdown cards, and countdown timers.

The announcement bar displays site-wide messages for promotions, shipping updates, or time-sensitive information. It supports carousel rotation between multiple slides, expandable dropdown cards for detailed content, and countdown timers.

![Announcement bar section overview](https://mintcdn.com/digifist/Dpx6fEVD1AmXI7xb/images/theme/sahara/sections/announcement-bar/announcement-bar-overview.png?fit=max\&auto=format\&n=Dpx6fEVD1AmXI7xb\&q=85\&s=b544b22a681d0943d3015a7bda0a4169)

## What this section controls

* Announcement message content and carousel rotation
* Dropdown cards with up to 3 expandable detail cards
* Countdown timers for time-sensitive promotions
* Section borders and spacing
* Color schemes for bar and dropdown areas

## Getting started

**1. Open Theme Customizer**

From Shopify admin, access the Theme Customizer.

**2. Locate Announcement bar**

The Announcement bar section is typically positioned at the top of your store. Look for it in the sections list or add it using the "Add section" button.

**3. Add text slides**

Click **Add block** and select **Text slide** to create announcement messages.

**4. Configure content**

Add your announcement text and optionally enable dropdown cards or countdown timers for enhanced functionality.

![Announcement bar location in Theme Customizer](https://mintcdn.com/digifist/Dpx6fEVD1AmXI7xb/images/theme/sahara/sections/announcement-bar/announcement-bar-location.png?fit=max\&auto=format\&n=Dpx6fEVD1AmXI7xb\&q=85\&s=bc94807c80162e698a84c2147c792dd1)

## Section settings

Section settings control the overall behavior and appearance of the announcement bar.

> [tab] Carousel
>
> ### Slider autoplay interval
>
> Controls how quickly slides rotate when multiple text slides are present.
>
> **Range:** 2 – 6 seconds (0.5s increments)
>
> **Default:** 3 seconds
>
> > [!NOTE]
> >
> > Carousel is automatically enabled when 2 or more text slide blocks are added. With a single block, the announcement displays as static content.
>
> Slower intervals (5-6s) give visitors more time to read detailed messages. Faster intervals (2-3s) work for short alerts or urgent announcements.
>
> ![Slider autoplay interval setting](https://mintcdn.com/digifist/TxH-yOsX7z-6LES8/images/theme/sahara/sections/announcement-bar/announcement-bar-autoplay.png?fit=max\&auto=format\&n=TxH-yOsX7z-6LES8\&q=85\&s=19cf07907fb443646b8b60a68e4f6f91)

> [tab] Design
>
> ### Color scheme
>
> Choose which color scheme applies to the announcement bar background and text.
>
> **Available options:** Scheme 1, Scheme 2, Scheme 3, Scheme 4, Inverse
>
> **Default:** Scheme 1
>
> > [!TIP]
> >
> > Use a contrasting color scheme to make announcements stand out from the rest of your header.
>
> ### Section border
>
> Add visual separation by displaying borders on the announcement bar.
>
> **Available options:**
>
> * **None:** No borders (seamless integration)
> * **Top:** Border line above the announcement bar
> * **Bottom:** Border line below the announcement bar
> * **Both:** Border lines on both top and bottom
>
> **Default:** None
>
> Use bottom border to separate announcements from header navigation. Use both borders for maximum visual distinction.
>
> ![Section border options](https://mintcdn.com/digifist/TxH-yOsX7z-6LES8/images/theme/sahara/sections/announcement-bar/announcement-bar-sytling.png?fit=max\&auto=format\&n=TxH-yOsX7z-6LES8\&q=85\&s=7e28ee7e16e87b2dd987da54ee87f35f)

> [tab] Spacing
>
> ### Spacing top
>
> Controls the padding above the announcement bar content.
>
> **Available options:** None, S, M, L, XL
>
> **Default:** M
>
> ### Spacing bottom
>
> Controls the padding below the announcement bar content.
>
> **Available options:** None, S, M, L, XL
>
> **Default:** M
>
> > [!TIP]
> >
> > Use larger spacing (L or XL) when displaying countdown timers to ensure adequate breathing room.

## Block settings

Block settings configure individual text slides within the announcement bar. Each text slide represents one message in the carousel.

> [tab] Content
>
> ### Body text
>
> The main announcement message displayed to visitors.
>
> **Type:** Rich text
>
> **Default:** "Welcome to our store"
>
> Supports text formatting including bold, italic, and links. Keep messages concise for better mobile display.
>
> > [!TIP]
> >
> > For promotional messages, use action-oriented language and include a link to the relevant page or collection.
>
> ![Body text content setting](https://mintcdn.com/digifist/TxH-yOsX7z-6LES8/images/theme/sahara/sections/announcement-bar/announcement-bar-text.png?fit=max\&auto=format\&n=TxH-yOsX7z-6LES8\&q=85\&s=e7a5aaa1e8eb1bcff86e2899c14f7f3f)

> [tab] Dropdown Cards
>
> The dropdown cards feature allows you to add expandable detailed content beneath a single announcement message.
>
> > [!WARNING]
> >
> > Dropdown cards only work when exactly **one** text slide block is present. Adding a second slide will disable this feature.
>
> > [accordion] Show dropdown cards
> >
> > Enable expandable dropdown menu containing up to 3 detailed cards beneath the announcement text.
> >
> > **Type:** Checkbox
> >
> > **Default:** Disabled
> >
> > Dropdown cards work well for multi-region shipping announcements, detailed sale terms, or store policies that need more space than the main bar allows.
> >
> > ![Show dropdown cards setting](https://mintlify.s3.us-west-1.amazonaws.com/digifist/images/theme/sahara/sections/announcement-bar/dropdown-cards-toggle.png)
>
> > [accordion] Color scheme
> >
> > Choose the color scheme for the dropdown menu. This can differ from the main announcement bar color scheme for visual hierarchy.
> >
> > **Available options:** Scheme 1, Scheme 2, Scheme 3, Scheme 4, Inverse
> >
> > **Default:** Scheme 1
>
> > [accordion] Card 1
> >
> > First dropdown card with title, content, button text, and destination URL.
> >
> > **Card title** (text): Heading displayed on the card
> >
> > **Card content** (rich text): Detailed information or description
> >
> > **Link** (text): Button text (e.g., "Shop now", "Learn more")
> >
> > **URL** (url): Destination when clicking the button
> >
> > > [!TIP]
> > >
> > > Keep card titles under 5 words for better scannability.
>
> > [accordion] Card 2
> >
> > Second dropdown card with the same configuration options as Card 1.
> >
> > **Card title** (text): Heading for second card
> >
> > **Card content** (rich text): Additional details
> >
> > **Link** (text): Button label
> >
> > **URL** (url): Button destination
>
> > [accordion] Card 3
> >
> > Third dropdown card with the same configuration options as Card 1 and Card 2.
> >
> > **Card title** (text): Heading for third card
> >
> > **Card content** (rich text): Supporting information
> >
> > **Link** (text): Call-to-action text
> >
> > **URL** (url): Link destination
> >
> > > [!NOTE]
> > >
> > > You don't need to fill all 3 cards. Leave cards empty to display fewer options.

> [tab] Countdown Timer
>
> Add urgency to announcements with time-based displays that count down to a specific deadline.
>
> > [accordion] Enable countdown timer
> >
> > Toggle the countdown timer display for this text slide.
> >
> > **Type:** Checkbox
> >
> > **Default:** Disabled
> >
> > > [!WARNING]
> > >
> > > Countdown timers add visual weight. Use sparingly and only for genuinely time-sensitive offers to maintain credibility.
>
> > [accordion] Timer date and time
> >
> > Set the exact date and time when the countdown reaches zero.
> >
> > **Timer year** (number): Year (e.g., 2024, 2025)
> >
> > **Timer month** (select): January through December
> >
> > **Timer day** (range): 1-31
> >
> > **Timer hour** (range): 0-23 (24-hour format)
> >
> > **Timer minute** (range): 0-59
> >
> > **Default:** January 1, 2024 at 00:00
> >
> > ![Timer date and time settings](https://mintlify.s3.us-west-1.amazonaws.com/digifist/images/theme/sahara/sections/announcement-bar/timer-date-time.png)
>
> > [accordion] Timer extend
> >
> > Automatically extend the countdown by a specified number of days after it expires. This creates a "rolling" promotion effect.
> >
> > **Range:** 0 – 30 days
> >
> > **Default:** 0 (no extension)
> >
> > > [!NOTE]
> > >
> > > When timer extends, it resets to the specified number of days from the expiration time. Useful for ongoing promotions that reset daily or weekly.
>
> > [accordion] Timer end message
> >
> > Message displayed when the countdown reaches zero (if not extending).
> >
> > **Type:** Inline rich text
> >
> > **Default:** "Sale has ended"
> >
> > **Examples:**
> >
> > * "Offer expired - Stay tuned for more!"
> > * "Flash sale completed - Check back soon"
> > * "Pre-order now closed"
>
> > [accordion] Timer unit visibility
> >
> > Control which time units are displayed in the countdown.
> >
> > **Show timer days** (checkbox): Display days remaining (default: enabled)
> >
> > **Show timer hours** (checkbox): Display hours remaining (default: enabled)
> >
> > **Show timer minutes** (checkbox): Display minutes remaining (default: enabled)
> >
> > **Show timer seconds** (checkbox): Display seconds remaining (default: enabled)
> >
> > > [!TIP]
> > >
> > > Showing seconds increases urgency but requires more visual attention. Use for flash sales under 1 hour. For multi-day promotions, showing only days and hours creates a cleaner display.
> >
> > ![Timer unit visibility settings](https://mintlify.s3.us-west-1.amazonaws.com/digifist/images/theme/sahara/sections/announcement-bar/timer-unit-visibility.png)

## Best practices

> [card] Keep text brief
>
> Limit announcement text to under 60 characters for optimal mobile display and quick readability.

> [card] Use dropdown cards strategically
>
> Dropdown cards work well for regional information, detailed terms, or multiple CTAs without cluttering the main bar.

> [card] Limit carousel slides
>
> Keep carousel to 2-3 slides maximum. More slides reduce effectiveness and split user attention.

> [card] Genuine urgency only
>
> Enable countdown timers only for genuinely time-sensitive offers to maintain credibility and urgency impact.

> [card] Test autoplay speed
>
> Faster intervals (2-3s) work for very short messages, slower intervals (5-6s) for detailed content or countdown timers.

> [card] Add borders for separation
>
> Use section borders to separate announcement bar from header when using similar color schemes.

> [card] One message per slide
>
> Avoid running multiple promotions simultaneously in carousel. Focus on one clear message per slide.

> [card] Preview on mobile
>
> Test dropdown cards on mobile before publishing to ensure content is easily accessible and buttons are adequately sized.

> [card] Use timer extend feature
>
> For ongoing promotions, use timer extend rather than manually updating dates each time expiration occurs.

> [card] Match color schemes
>
> Coordinate dropdown card color scheme with your brand while maintaining sufficient contrast for readability.

> [!WARNING]
>
> Countdown timers display in the visitor's local timezone. Ensure your promotion terms account for global timing differences.

## Common use cases

* **Flash sale announcement** - Single slide with countdown timer showing hours/minutes/seconds for 24-hour sale
* **Free shipping promotion** - Multiple slides rotating between free shipping threshold and current promotion details
* **Regional announcements** - Single slide with dropdown cards showing shipping information for different countries or regions
* **New collection launch** - Countdown timer with days/hours leading up to product release date
* **Holiday hours** - Single static slide with dropdown cards detailing hours for different store locations
* **Sale rotation** - 2-3 slides showcasing different product categories currently on sale
* **Pre-order campaign** - Countdown to pre-order closing with clear end message when timer expires
* **Seasonal promotion** - Extended timer (7-30 days) for ongoing seasonal discounts that reset automatically


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.