# Countdown timer

Show a running clock to create urgency for a sale, a new collection launch, or a daily deal. The **Countdown timer** section counts down to a date you set, or restarts on a schedule, with a heading and a button next to it.
## How to add Countdown timer
1. Open the theme editor (**Edit theme**).
2. Click **Add section** under **Template** in the sidebar.
3. Select **Countdown timer**.
4. Enter your text in **Heading**.
5. Choose a **Type** under **Countdown timer**.
6. Set the **End time** or the **Duration**.
7. Click **Save**.
If **Countdown timer** is already on the page, click it to edit it instead.

## Section settings
**Section Padding**, **Advanced**, **Custom Attributes**, and **Animations** work the same as in every section. See [Common section settings](https://docs.foxecom.com/minimog-theme/theme-sections/common-section-settings).
### Countdown timer
Choose how the clock runs.
| Setting | Description | Options |
| ------------ | ---------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Type** | How the countdown runs. | **Fixed time:** counts down once to the date and time you set. Use it for a sale with a set end date.
**Evergreen:** restarts after each cycle. Use it for recurring offers, such as a daily or monthly deal. Requires Minimog 6.0.0 or above. |
| **End time** | The date and time the countdown ends. Works when **Type** is **Fixed time**. | Enter a date and time in the format `YYYY-MM-DD HH:MM:ss`, such as `2028-02-26 23:00:00`. |
| **Duration** | How long each cycle lasts. Works when **Type** is **Evergreen**. | **Every 2 hours**, **Every 6 hours**, **Every 12 hours**, **Every day**, **Every week**, or **Every month**. |
The **Evergreen** countdown doesn't start from the time you save. It restarts at 12:00 AM and 12:00 PM, based on the **Duration** you choose.
### General
**Container type** and **Color scheme** work the same as in every section. See [Common section settings](https://docs.foxecom.com/minimog-theme/theme-sections/common-section-settings).
| Setting | Description | Options |
| ------------------------------- | ------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| **Alignment** | Where the heading, timer, and button sit. | **Left**, **Center**, or **Right**. |
| **Background image** | An image behind the section's content. | Click **Select** to choose an image. |
| **Use background in container** | Shows the background image only inside the content container. | **On** or **Off**. |
| **Enable parallax effect** | Moves the background image as customers scroll. | **On** or **Off**.
*Works when **Use image as background** is on.* |
| **Parallax direction** | The direction the background image moves. | **Vertical**, **Horizontal**, or **Zoom**.
*Works when **Enable parallax effect** is on.* |
### Mobile settings
| Setting | Description | Options |
| --------------------------- | ------------------------------------------------------------- | ------------------------------------ |
| **Image** | A separate image shown on mobile. | Click **Select** to choose an image. |
| **Use image as background** | Shows the mobile image behind the timer, instead of above it. | **On** or **Off**. |


### Content
| Setting | Description | Options |
| ---------------- | ---------------------------- | --------------------------------------------------------------------------------------------------- |
| **Heading** | The text above the timer. | Enter text, such as `Hurry up! Sale end in`. |
| **Heading size** | The size of the heading. | **Heading xs**, **Heading sm**, **Heading md**, **Heading lg**, **Heading xl**, or **Heading 2xl**. |
| **Description** | The text below the heading. | Enter text. |
| **Text size** | The size of the description. | **Small**, **Base size**, **Large**, **Extra large**, or **Default**. |
### Button settings
| Setting | Description | Options |
| ---------------- | ---------------------------------------------------- | ------------------------------------------------------------------------------------ |
| **Button label** | The text on the button. | Enter text, such as `Shop now`.
*Leave blank to hide the button.* |
| **Button link** | The page customers go to when they click the button. | Paste a link or search for a page. |
| **Button style** | How the button looks. | **Primary button**, **Secondary button**, **White button**, or **Underline button**. |
| **Button size** | The size of the button. | **Button small**, **Button medium**, or **Button large**. |
The timer counts down in the theme editor preview, with your heading and button next to it.
## Related articles
Common section settings
Promotion countdown timer