# Template design

You can add or update templates through [Publications](/pim3/reference/publications.md) > [Templates](/pim3/reference/publications/templates.md).

### Edit content main

1. Click "Content"
2. Choose "Main"
3. Modify HTML
4. Click "Update template"

### Edit content header

1. Click "Content"
2. Choose "Header"
3. Add [elements](/pim3/reference/publications/templates/edit-template/template-design/header-footer-elements.md)
4. Click "Update template"

### Edit content footer

* Click "Content"
* Choose "Footer"
* Add [elements](/pim3/reference/publications/templates/edit-template/template-design/header-footer-elements.md)
* Click "Update template"

### Edit table of contents

1. Click "Table of Contents"
2. Modify HTML
3. Click "Update template"

### Edit Category

1. Click "Category"
2. Modify HTML
3. Click "Update template.

### Edit Preview settings

1. Click "Settings"
2. Modify Product and language along with additional [details](/pim3/reference/publications/templates/edit-template/template-design/template-preview-settings.md)

### Download preview

1. Click "Download"-button


---

# Agent Instructions: 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:

```
GET https://docs.struct.com/pim3/reference/publications/templates/edit-template/template-design.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
