> For the complete documentation index, see [llms.txt](https://broadcast.presidiocreative.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://broadcast.presidiocreative.com/sections/sections/layout/custom-code.md).

# Custom code

Add custom code to your theme or build a custom section

Broadcast includes a custom code section to help you add Shopify App snippets, HTML or other Liquid code to create advanced customizations.

<figure><img src="https://content.gitbook.com/content/sD7BEEDU3B7WiEJlN0F7/blobs/abclPtSv2GLbeNnydykp/custom%20heading%20small%20main.jpg" alt=""><figcaption><p><strong>Example of a custom H1 heading</strong></p></figcaption></figure>

### Section settings

<table><thead><tr><th width="140.111083984375">Settings</th><th width="145.22222900390625" align="center">Type</th><th>Description</th></tr></thead><tbody><tr><td>Custom code</td><td align="center"><code>liquid</code></td><td>Add custom Liquid code, app snippets, or embed tags. Advanced users only.</td></tr><tr><td><strong>Layout</strong></td><td align="center"></td><td></td></tr><tr><td>Width</td><td align="center"><code>select</code></td><td>Controls the content width. Options: <code>Full width</code>, <code>Full width padded</code>, <code>Normal</code>, or <code>Narrow</code>.</td></tr><tr><td><strong>Colors</strong></td><td align="center"></td><td></td></tr><tr><td>Color scheme</td><td align="center"><code>color_scheme</code></td><td>Apply a global color scheme to the section background.</td></tr><tr><td><strong>Padding</strong></td><td align="center"></td><td></td></tr><tr><td>Top</td><td align="center"><code>range</code></td><td>Padding above the section.</td></tr><tr><td>Bottom</td><td align="center"><code>range</code></td><td>Padding below the section.</td></tr></tbody></table>

<figure><img src="https://content.gitbook.com/content/sD7BEEDU3B7WiEJlN0F7/blobs/dENU1A2RapgKy0wTp7W5/custom%20heading%20example.png" alt=""><figcaption></figcaption></figure>

### Video Overview

This video demonstrates adding custom HTML, Liquid code, and the Custom CSS feature:

{% embed url="<https://www.loom.com/share/0b676061ddeb44b0b034e30d9ef7db17?sid=ca719a8d-abb3-4042-9111-2fa9ffd3dd3f>" %}
**Video walkthrough for the Custom code section**
{% endembed %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://broadcast.presidiocreative.com/sections/sections/layout/custom-code.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
