> For the complete documentation index, see [llms.txt](https://design-packs.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://design-packs.gitbook.io/docs/fundamentals/helpful-guides/how-to-set-default-article-template-for-all-blog-posts.md).

# How to set default article template for all blog posts

To replace a default article template with a new Design Packs template, follow these steps:

1. Go to the Shopify admin panel and navigate to the "Online Store" section.
2. From the "Online Store" menu, select "Themes" to view a list of themes in your store.
3. Click the "\[...]" actions dropdown menu for the theme that you want to use as the template and select "Edit code". We recommend testing on an unpublished theme first.
4. In the "Templates" folder, you will see a list of template files that are available for your theme. These templates control the layout and content of different types of pages in your store, such as product pages, collection pages, and blog posts.
5. To set a template for a specific type of page, click on the template file that you want to use. Look for the the "article.liquid" template file.
6. Click "Add a new template" and create your template based on the article.liquid type and make sure it is set to JSON and call it "original". Click "Done" in the popup to create this duplicate of the existing template. This is a backup of your default article template so that you can revert in the future.&#x20;
7. Make sure that your Design Pack template has been added to this theme. Eg. article.dp\_browse.json, article.dp\_spotlight.json
8. Click on the template that you would like to apply to all of your articles. Copy and paste the contents of that file to article.json.
9. Click the "Save" button to save your changes.
10. Preview your pages to make sure that the template is applied correctly. If everything looks good, you can publish your changes to make them live on your store.

Keep in mind that you can set different templates for different types of articles in your store, but these instructions will apply a Design Pack article template to all articles by default. This will save you the time and effort to select the template every time you create a new blog post.

{% embed url="<https://share.getcloudapp.com/Qwuj5Ylx>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://design-packs.gitbook.io/docs/fundamentals/helpful-guides/how-to-set-default-article-template-for-all-blog-posts.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
