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

# Countdown timer

The **Countdown timer** section displays the time remaining until a date and time you choose. Use it to highlight a sale or another time-limited offer.

> [!NOTE]
>
> In the **Shopify Theme Editor**, choose **Sections**, add or select **Countdown timer** to edit its settings. Changes appear in the preview. Click **Save** to publish them.

## **Section settings**

#### **General settings**

* **Width:** Choose how wide the section appears on the page.
  * **Page:** Keep the section within the theme's page width.
  * **Fluid:** Expand the section to use more available horizontal space.
* **Color scheme:** Choose the color scheme used by the section. The available color schemes depend on the color schemes configured in Theme settings.
* **Background image:** Select a background image for the section.
* **Overlay color:** Choose the overlay color and opacity.

#### **Layout**

* **Desktop layout:** Choose how the section header and countdown timer are arranged on the desktop:
  * **Side by side:** The section header is side by side with the countdown.
    * **Desktop content order:** Choose which content appears first on desktop: **Text first** **or Countdown first**.
    * **Show separator:** Show a separator between the section header content with the countdown.
  * **Stacked:** The section header is stacked with the countdown.
* **Alignment:** Align the section header **Left**, **Center**, or **Right**.
* **Gap:** Adjust the space between the section header content and the countdown: **0-80px**.

#### **Section padding**

Section padding controls the amount of space above and below the Countdown timer section.

* **Top:** Control the space above the section on desktop.
* **Bottom:** Control the space below the section on desktop.
* **Mobile top:** Control the space above the section on mobile.
* **Mobile bottom:** Control the space below the section on mobile.

Desktop padding values range from **0–120px**, while mobile padding values range from **0–80px**.

## **Block settings**

### **Section header**

Use the header to introduce the offer and explain the countdown.

* **Heading:** Enter the main section title.
* **Heading tag:** Choose the HTML heading level used for the heading, from **H1** through **H6**, **div**, **span** and **p**.
* **Heading size:** Control the visual size of the heading independently from its HTML heading tag. Available sizes range from **Large**, **Extra large**, **2X large** to **10X large**.
* **Subheading:** Add a short line of formatted text above the heading.
* **Description:** Enter the formatted copy.
* **Maximum width:** Set the maximum width for the header section content, range from **200-1400px.**

#### **Coupon**

Add a label and coupon code to show with the offer.

* **Label:** Enter text that introduces the code.
* **Coupon code:** Enter the code to display.

#### **Highlighted heading**

Highlighted heading lets you emphasize specific text in the section heading with a highlight effect.

* **Highlight effect:** Choose the effect applied to the highlighted heading text. Available options include:
  * **None**
  * **Underline**
  * **Maker**
  * **Tilt**
  * **Outline**
  * **Block**
  * **Brush**
  * **Tape**
* **Highlight tag:** Choose which text in the heading should receive the highlight effect based on the text's formatting tag: **Bold**, **Italic**, or **Link**.
* **Highlight color:** Choose the effect color used for the highlighted text.
* **Highlight text color:** Choose the color for the highlighted text. Clear this setting to inherit the color scheme. For partial backgrounds, only the covered text uses this color.
* **Remove original text formatting:** Removes bold, italic, and link underline from highlighted text while preserving the original HTML tag.

### **Countdown**

Add or edit the **Countdown** block to set the deadline and how the timer appears.

* **Label:** Enter the text above the timer.
* **End date:** Enter the countdown date in **YYYY-MM-DD** format. The timer uses the global Countdown timezone setting.
* **End time:** Enter a 24-hour time in **HH:MM** format, such as 23:59.
* **Countdown size:** Choose the displayed size for the countdown. Available options:
  * **Large**
  * **Extra large**
  * **2X large**
  * **3X large**
* **When countdown ends:** Choose what happens when the timer reaches zero.
  * **Stop at zero**
  * **Hide countdown**
  * **Show a message**
    * **Completion message:** Enter the message when the countdown has ended.

### **Button group**

The Button group block controls how multiple buttons are displayed within the section.

* **Fill available width:** Make buttons grow to fill the available space. This setting works only when there is more than one button and automatically makes the buttons equal in width whenever possible.

#### **Button**

The Button block lets you add a call-to-action button to the section. You can add multiple Button blocks when you want to provide more than one action.

* **Label:** Set the text displayed on the button.
* **Link:** Set the destination of the button.
* **Open in new tab:** Open the destination in a new browser tab.
* **Button style:** Choose **Solid**, **Outline**, or **Link**.
* **Minimum width:** Set the minimum width of the button. Set the value to **0** to use automatic width. This setting does not apply to the **Link** style, and the button width is automatically optimized on mobile.


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