it was there on dawn theme but basic feature is missing
Topic summary
A user noticed that Shopify’s Horizon theme lacks a blog grid section for the homepage, a feature that was available in the Dawn theme.
Solution provided:
- A complete code snippet was shared for creating a custom blog grid section
- The code includes Liquid templating for displaying blog posts in a grid layout
- Features customizable settings: heading, blog selection, post limit (3-12), date display toggle, and “View all” button option
- Includes responsive CSS styling with card-based design and hover effects
Additional context:
- Horizon is described as a new theme with features being regularly added
- Users are advised to keep the theme update-able by avoiding direct code edits
- Recommendation to monitor the official release notes for new feature additions
Status: Workaround provided; the missing feature may be added in future theme updates.
If you want custom blog grid section for this theme here is code – enjoy–
{{ section.settings.title | escape }}
{% endif %}{%- assign blog = blogs[section.settings.blog] -%}
{% if blog.articles_count > 0 %}
{% for article in blog.articles limit: section.settings.post_limit %}
{% if article.image %}
{% endif %}
<div class="blog-card-content">
<h3 class="blog-card-title">
<a href="{{ article.url }}">{{ article.title }}</a>
</h3>
{% if section.settings.blog_show_date %}
<p class="blog-card-date">
{{ article.published_at | date: "%B %d, %Y" }}
</p>
{% endif %}
<p class="blog-card-excerpt">
{% if article.excerpt.size > 0 %}
{{ article.excerpt }}
{% else %}
{{ article.content | strip_html | truncate: 120 }}
{% endif %}
</p>
<a href="{{ article.url }}" class="blog-card-readmore">
Read more →
</a>
</div>
</div>
{% endfor %}
</div>
{% else %}
No blog posts found.
{% endif %}
{% if section.settings.show_view_all %}
View all
{% endif %}
{% schema %}
{
“name”: “Blog grid”,
“settings”: [
{
“type”: “text”,
“id”: “title”,
“label”: “Heading”,
“default”: “Latest blog posts”
},
{
“id”: “blog”,
“type”: “blog”,
“label”: “Blog”
},
{
“type”: “range”,
“id”: “post_limit”,
“label”: “Number of posts”,
“min”: 3,
“max”: 12,
“step”: 3,
“default”: 3
},
{
“type”: “checkbox”,
“id”: “blog_show_date”,
“label”: “Show date”,
“default”: true
},
{
“type”: “checkbox”,
“id”: “show_view_all”,
“label”: “Show ‘View all’ button”,
“default”: true
}
],
“presets”: [
{
“name”: “Blog grid”,
“category”: “Blog”
}
]
}
{% endschema %}
Still Confuse DM me www.renowebtech.com
Because it’s a new theme and they are regularly adding new features and blocks to it.
So keep it update-able (means avoid editing theme code) and check https://themes.shopify.com/themes/horizon/presets/horizon#ReleaseNotes often