# Countdown timer

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FnoSH9vv3fFSEfrDFnzxA%2Fimages.png?alt=media&#x26;token=87d678cb-599a-400e-9650-2fc9d98047a6" alt=""><figcaption></figcaption></figure>

A countdown clock for promotion/new collection release can bring excitement to customers that have been waiting for the event.

## How to add a Countdown timer

{% hint style="success" %}
Steps

1. In the theme editor **(Customize)**, click **Add section.**
2. Locate **Countdown timer.**
3. Make necessary changes.
4. **Save.**
   {% endhint %}

## How to edit a Countdown timer

### Section settings

#### General

Adjust the **Container** (Fixed width/Small) and **Color scheme** for this section.

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FX1kdfalRgr2OPkObWQRc%2Fimage.png?alt=media&#x26;token=4254ca96-3a65-4160-b2fd-0ace26af6a78" alt=""><figcaption></figcaption></figure>

Moreover, you can also pick a **Background image** for the timer and set the opacity for it in the **Image overlay opacity** range.

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FDGn2cyBae0cyNL0uyNh1%2Fimage.png?alt=media&#x26;token=0fb5c968-bb10-42f6-b8cd-98c6c99eddc5" alt=""><figcaption></figcaption></figure>

#### Content settings

Change the **Content alignment** (Left/Center/Right) and then align the text inside - **Text alignment** (Left/Center/Right).

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FzMrTx1RQlUdtVQzoXnPW%2Fimage.png?alt=media&#x26;token=ddb59636-6d81-442c-b92b-3b2986993c6a" alt=""><figcaption></figcaption></figure>

#### **Section padding**

You can modify the spacing above and below the section by adjusting the slider to change the values of the **Top padding** and **Bottom padding**.

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FDBzfsvvuEWnCv1BruzJJ%2Fimage.png?alt=media&#x26;token=88c3468a-8c58-4f82-bf78-6e9a8ba80954" alt=""><figcaption></figcaption></figure>

#### Section divider

This divider line provides a clear boundary between the current section and the above.

To activate the divider line, enable the :white\_check\_mark: **Show divider** checkbox.&#x20;

You can choose a suitable **Divider width** for it (Fixed width/ Full width).

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FjbpKnRizvg2D3b4EMDms%2Fimage.png?alt=media&#x26;token=19870e82-65a3-4a87-97dc-5cafa236357e" alt=""><figcaption></figcaption></figure>

### Block settings

You can choose to add more elements to the Countdown timer section by selecting **(+) Add block**.

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FpmeZK4yu093wixnweL39%2Fimage.png?alt=media&#x26;token=bd73eb0f-b188-4602-8fa4-6bd45a3e6941" alt=""><figcaption></figcaption></figure>

#### Heading

Add the **Heading** of the event to attract customers' attention.

* Leave it blank if you do not want to display it.

You can also change the **Heading size** to:

* Heading xs
* Heading sm
* Heading md
* Heading lg
* Heading xl
* Heading 2xl&#x20;
* Display md&#x20;
* Display lg
* Display xl&#x20;

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FL4KJLVL3ntOx1cgbeAXj%2Fimage.png?alt=media&#x26;token=5aadd9dc-0e8b-4916-9916-40c0d9f2e5da" alt=""><figcaption></figcaption></figure>

#### Subheading

Add the **Subheading** of the event.

* Leave it blank if you do not want to display it.

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FNdFnVLiJvYOuMkptVETs%2Fimage.png?alt=media&#x26;token=5086a426-db36-48de-ad33-46487f6f83b5" alt=""><figcaption></figcaption></figure>

#### Description

Add the **Description** to describe the event.

* Leave it blank if you do not want to display it.

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2F12u7UjwkqGADSbXThct4%2Fimage.png?alt=media&#x26;token=ef28bf39-622a-4881-bbf1-e8bfa0bb597b" alt=""><figcaption></figcaption></figure>

#### Button

You can also display a call-to-action button to redirect customers to your desired pages.

Add a **Label** and **Link** for one or both, then choose a **Button style** (Primary button/ Secondary button/ Underline button)**.**

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2F8job5QtAKBpljAVsDGoX%2Fimage.png?alt=media&#x26;token=105dc84b-8e4a-4091-a178-5ae2ca6bd5b8" alt=""><figcaption></figcaption></figure>

#### Countdown timer

Add a countdown timer and adjust the end time of the event.

The **Countdown type** offers two modes:

* **Evergreen**: A repeating countdown that resets after a specified duration (e.g., every month).
  * This is useful for recurring sales, daily deals, or subscription cycles.

{% hint style="warning" %}
The Evergreen setting is only available in Sleek **version 1.8.0 and above**. ✨

See [Changelog](https://docs.foxecom.com/sleek-theme/changelog).
{% endhint %}

* **Fixed time**: A one-time countdown that ends at a specific date and time.
  * Ideal for limited-time promotions, event registrations, or product launches.

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2F3FRFsK1MnHs1ipzsoONp%2Fimage.png?alt=media&#x26;token=13a23ee0-dfcd-405b-b557-4451cb7eaf62" alt=""><figcaption></figcaption></figure>

You can also choose a **Style** for the timer and change the **Number size** to Small/ Medium/ Large.

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2F1ohdSAfMNUdVP5voXygD%2Fimage.png?alt=media&#x26;token=96de7601-f83e-4036-b8df-546df2b78dab" alt=""><figcaption></figcaption></figure>

{% tabs %}
{% tab title="Only number" %}

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FbtMt4MSoTC3uyZ5zovxG%2Fimage.png?alt=media&#x26;token=7aeebcbf-3ebc-4c15-ba43-d85f7a0ef096" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Number with text" %}

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2F7tXqLkJ32MdpJpKgRKR5%2Fimage.png?alt=media&#x26;token=67c95139-ffd3-4c83-810a-d9bb6d1a3372" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

{% hint style="info" %}
If you choose the **Evergreen** countdown, you must specify the **Duration** for when the timer should reset.

**Duration** determines how often the countdown restarts.
{% endhint %}

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FtzdlJldUhxA7cZr22kT6%2Fimage.png?alt=media&#x26;token=ba5cd848-24f2-418d-b8bf-80592c3f993e" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If you choose the **Fixed time** countdown, you need to specify when the countdown should end.

Enter the exact date and time in the **Ends time** field when the countdown should stop.
{% endhint %}

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FpMNyVw1Vcoj4SE3WACYR%2Fimage.png?alt=media&#x26;token=6d32b288-13f2-4df9-a27d-caa8aa4f7b9a" alt=""><figcaption></figcaption></figure>

*Date formats accepted:*

| Name           | Format              | Example             |
| -------------- | ------------------- | ------------------- |
| 24 hour format | YYYY/MM/DD HH:MM    | 2023/10/04 23:30    |
| 12 hour format | YYYY/MM/DD HH:MM aa | 2023/10/04 11:30 PM |

#### Image

You can add multiple **Image** blocks in the Countdown timer section on both desktop and mobile screens to attract customers' attention.

Adjust the **Desktop Image width** between 150px and 350px.

Especially, you are able to change the **Desktop vertical position** and **Desktop horizontal position** for the Image blocks.

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FSN0Ngxxnum5khriNoaNb%2Fimage.png?alt=media&#x26;token=5f93ef6d-b760-42d9-b0d5-a886a78db570" alt=""><figcaption></figcaption></figure>
