How can i add a live counter on the DAWN theme?
Topic summary
A user seeks help adding a live countdown timer to their Shopify store using the Dawn theme. After sharing their store preview link, they receive detailed implementation instructions.
Solution provided:
- Navigate to Theme > Edit Code
- Create a new section file
- Copy and paste provided code snippet that includes:
- CSS styling with responsive padding
- HTML structure for the countdown display (showing “00:00:00” format)
- Schema configuration for customization options
Key features of the code:
- Customizable padding settings
- Content alignment options (left, center, right)
- Color scheme integration
- Full-width display toggle
- Responsive design for mobile and desktop
The solution includes screenshots demonstrating each step of the process. The code appears to be a complete, ready-to-use section that can be added through Shopify’s theme editor without requiring external apps.
Can you provide link to your store?
Hi @FashionPro ,
If you are using a default dawn theme, you can use below Section to add a counter to your site.
Follow below steps to add the section to your site.
Step 1:Go the theme > Edit Code
Step 2: Create a new section
Step 3: Copy below conten to the new section
{{ 'section-rich-text.css' | asset_url | stylesheet_tag }}
{%- style -%}
.section-{{ section.id }}-padding {
padding-top: {{ section.settings.padding_top | times: 0.75 | round: 0 }}px;
padding-bottom: {{ section.settings.padding_bottom | times: 0.75 | round: 0 }}px;
}
@media screen and (min-width: 750px) {
.section-{{ section.id }}-padding {
padding-top: {{ section.settings.padding_top }}px;
padding-bottom: {{ section.settings.padding_bottom }}px;
}
}
{%- endstyle -%}
##
00:00:00
{% schema %}
{
"name": "Countdown",
"tag": "section",
"class": "section",
"disabled_on": {
"groups": ["header", "footer"]
},
"settings": [
{
"type": "inline_richtext",
"id": "block_heading",
"default": "Talk about your brand",
"label": "t:sections.rich-text.blocks.heading.settings.heading.label"
},
{
"type": "select",
"id": "block_heading_size",
"options": [
{
"value": "h2",
"label": "t:sections.all.heading_size.options__1.label"
},
{
"value": "h1",
"label": "t:sections.all.heading_size.options__2.label"
},
{
"value": "h0",
"label": "t:sections.all.heading_size.options__3.label"
},
{
"value": "hxl",
"label": "t:sections.all.heading_size.options__4.label"
}
],
"default": "h1",
"label": "t:sections.all.heading_size.label"
},
{
"type": "select",
"id": "desktop_content_position",
"options": [
{
"value": "left",
"label": "t:sections.rich-text.settings.desktop_content_position.options__1.label"
},
{
"value": "center",
"label": "t:sections.rich-text.settings.desktop_content_position.options__2.label"
},
{
"value": "right",
"label": "t:sections.rich-text.settings.desktop_content_position.options__3.label"
}
],
"default": "center",
"label": "t:sections.rich-text.settings.desktop_content_position.label",
"info": "t:sections.rich-text.settings.desktop_content_position.info"
},
{
"type": "select",
"id": "content_alignment",
"options": [
{
"value": "left",
"label": "t:sections.rich-text.settings.content_alignment.options__1.label"
},
{
"value": "center",
"label": "t:sections.rich-text.settings.content_alignment.options__2.label"
},
{
"value": "right",
"label": "t:sections.rich-text.settings.content_alignment.options__3.label"
}
],
"default": "center",
"label": "t:sections.rich-text.settings.content_alignment.label"
},
{
"type": "color_scheme",
"id": "color_scheme",
"label": "t:sections.all.colors.label",
"default": "background-1"
},
{
"type": "checkbox",
"id": "full_width",
"default": true,
"label": "t:sections.rich-text.settings.full_width.label"
},
{
"type": "header",
"content": "t:sections.all.padding.section_padding_heading"
},
{
"type": "range",
"id": "padding_top",
"min": 0,
"max": 100,
"step": 4,
"unit": "px",
"label": "t:sections.all.padding.padding_top",
"default": 40
},
{
"type": "range",
"id": "padding_bottom",
"min": 0,
"max": 100,
"step": 4,
"unit": "px",
"label": "t:sections.all.padding.padding_bottom",
"default": 52
}
],
"presets": [
{
"name": "Countdown"
}
]
}
{% endschema %}
Step 4: Save changes
Step 5: Use this section from theme customize
Referance: https://mangit.myshopify.com/
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Makka





