# Countdown timer ![image](https://docs-assets.foxecom.app/pebble-theme/Fox-BG%20Light%20\(10\)_4X0p8GA4.jpg) Create urgency for a sale or launch with a live countdown, a short message, and a button, decorated with up to three floating images. For example, show "Save extra on our sale collection" above a timer that counts down to the end of the sale. ## How to customize the Countdown timer section 1. Open the page where you want to display the section in the theme editor by clicking **Edit theme**. 2. Click **Add section**. 3. Select **Countdown timer**. 4. Click the **Countdown timer** block. 5. Select **Evergreen** or **Fixed time** in **Type**. 6. Set **Duration** for an Evergreen countdown, or **Ends time** for a Fixed time countdown. 7. Edit the **Subheading**, **Heading**, **Text**, and **Button** blocks. 8. Click each **Image** block to add the decorative images. 9. Click **Save**. ## Section settings ### Appearance Controls the visual style of the section. | Setting | Description | Options | | ------------------ | ----------------------------------------------------------------------------------------------------------------- | :---------------------------------------------------------------------- | | **Color scheme** | Applies a theme color scheme to the section. Learn more in [Colors](https://docs.foxecom.com/pebble-theme/theme-settings/colors). | Select an available color scheme. | | **Border** | Controls whether the section has an outline. | **None** or **Solid**. | | **Border width** | Controls the thickness of the section border. | **0–10px**.

*Available when **Border** is set to **Solid**.* | | **Border opacity** | Controls the opacity of the section border. | **0–100%**.

*Available when **Border** is set to **Solid**.* | | **Corner radius** | Controls how rounded the section corners appear. | **0–32px**. |
### Padding Controls the top and bottom spacing separately for desktop and mobile. | Setting | Description | Options | | ----------- | ------------------------------------------------------------- | :------------------------- | | **Devices** | Selects which device-specific padding values you are editing. | **Desktop** or **Mobile**. | | **Top** | Controls the space above the section content. | **0-200 px.** | | **Bottom** | Controls the space below the section content. | **0-200 px.** |
## Blocks The section includes **Subheading**, **Heading**, **Text**, **Countdown timer**, and **Button** blocks, plus up to three **Image** blocks. ### Subheading, Heading, and Text * [**Subheading**](https://docs.foxecom.com/pebble-theme/theme-blocks/text): Displays a short label above the heading to introduce the promotion. * [**Heading**](https://docs.foxecom.com/pebble-theme/theme-blocks/text): Displays the main message or offer. * [**Text**](https://docs.foxecom.com/pebble-theme/theme-blocks/text): Displays details such as terms or timing. ![image](https://docs-assets.foxecom.app/pebble-theme/image_tztHjK4u.png) ![image](https://docs-assets.foxecom.app/pebble-theme/image_sziiArxK.png) ![image](https://docs-assets.foxecom.app/pebble-theme/image_vQX9xMzg.png) ### Countdown timer ![image](https://docs-assets.foxecom.app/pebble-theme/image_b0HW2Y0A.png) The [**Countdown timer**](https://docs.foxecom.com/pebble-theme/theme-blocks/countdown-timer) block shows a live countdown in days, hours, minutes, and seconds. | Setting | Description | Options | | --------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | | **Type** | Controls whether the countdown repeats or ends at a set time. | **Evergreen:** Restarts automatically after each cycle.

**Fixed time:** Counts down to one specific date and time. | | **Duration** | Sets how often an Evergreen countdown restarts. | **2 hours, 6 hours, 12 hours, Every day, Every week,** or **Every month**.

*Available when **Type** is set to **Evergreen**.* | | **Ends time** | Sets the date and time when the countdown reaches zero. | Enter a date and time, such as `2024/06/30 23:59` or `2024/06/30 11:59 PM`.

*Available when **Type** is set to **Fixed time**.* | | **Show text** | Shows a label below each number: Days, Hours, Minutes, and Seconds. | **On** or **Off**. | | **Style** | Controls how the numbers look. | **Standard:** Shows the numbers without panels.

**Card:** Shows each number in its own tile. | | **Horizontal gap** | Sets the space between the number groups on desktop. | **0–32px**. | | **Preset** | Sets the typography style of the numbers. | **Heading 1–6** or **Custom**. | | **Inherit color scheme** | Controls whether the numbers use the section's color scheme. | **On** or **Off**. | | **Horizontal gap** (Mobile) | Sets the space between the number groups on mobile. | **0–32px**. |
Use **Fixed time** for a one-time deadline such as the end of a sale, and **Evergreen** for recurring promotions that restart automatically. ### Button ![image](https://docs-assets.foxecom.app/pebble-theme/image_rg02EpbV.png) The [**Button**](https://docs.foxecom.com/pebble-theme/theme-blocks/button) block adds a call-to-action that takes customers to the sale. Set its text in **Label** and its destination in **Link**. ### Image ![image](https://docs-assets.foxecom.app/pebble-theme/image_ctSQZMrM.png) Each **Image** block adds one decorative image that floats around the content. You can add up to three images. | Setting | Description | Options | | ------------------ | ------------------------------------------- | ----------------------------------------------------------------------- | | **Image** | Sets the image on desktop. | Select or upload an image, or click **Explore free images**. | | **Image mobile** | Sets a separate image for mobile. | Select or upload an image, or click **Explore free images**. | | **Width** | Sets the width of the image. | **100-300px.** | | **Offset top** | Sets the image's vertical position. | **0–100%**. | | **Offset left** | Sets the image's horizontal position. | **0–100%**. | | **Border** | Adds a border around the image. | **None** or **Solid**. | | **Border width** | Controls the thickness of the border. | **0–10px**.

*Available when **Border** is set to **Solid**.* | | **Border opacity** | Controls the opacity of the border. | **0–100%**.

*Available when **Border** is set to **Solid**.* | | **Corner radius** | Controls how rounded the image corners are. | **0–32px**. | | **Loop animation** | Sets the repeating motion of the image. | **None, Float up, Float down** |