# Countdown timer ![Countdown timer with a photo of black sneakers on the left, and the heading Old School Sneaker, a timer showing days, hours, minutes, and seconds, and a Get Only $20 button on the right](https://docs-assets.foxecom.app/minimog-theme/64265820-0b12-4118-9cc1-53b20138249f.png) 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. ![Countdown timer selected under Template in the theme editor sidebar, with its settings on the right and the red Hurry up! Sale end in timer in the preview](https://docs-assets.foxecom.app/minimog-theme/706ad667-0b99-4215-8580-3777b163acd5.png) ## 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**. |
![Mobile view with the heading, timer, and Shop now button over the photo of a woman holding a jar of face mask](https://docs-assets.foxecom.app/minimog-theme/image_lOc9Nb1J.png) ![Mobile view with the photo of a woman holding a jar of face mask on top, and the heading, timer, and Shop now button below it](https://docs-assets.foxecom.app/minimog-theme/image_EzZMlcaY.png) ### 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