# How to center the heading of sections?

***

Our themes do not currently have a built-in setting to center the heading of sections like Featured Collection, Multicolumn, Collection list, etc. To do so, you will need to use custom code (Rest assured, the process is very easy). Please follow the steps below.

**Steps:**

1. In your **Shopify admin**, go to **Online Store** > **Themes** > Click **Customize**.
2. Click the section that you want to add the code to.

<figure><img src="https://t9008110498.p.clickup-attachments.com/t9008110498/3e63f345-22c7-48eb-ac24-e350296466d6/Screenshot%202024-03-28%20at%204.15.21%E2%80%AFPM.png" alt=""><figcaption></figcaption></figure>

3. Scroll down to the bottom of the settings, click **Custom CSS**.

<figure><img src="https://t9008110498.p.clickup-attachments.com/t9008110498/fcf0f7e6-2c1f-4c83-9d37-b4b61ddb997f/Screenshot%202024-03-28%20at%204.15.42%E2%80%AFPM.png" alt=""><figcaption></figcaption></figure>

4. Input the following code into the Custom CSS section:

```
h2 {
  margin: auto;
}
```

<div align="center"><figure><img src="https://t9008110498.p.clickup-attachments.com/t9008110498/2b0f1f27-5535-427f-9943-5e675511b999/Screenshot%202024-03-28%20at%204.15.56%E2%80%AFPM.png" alt=""><figcaption></figcaption></figure></div>

5. Click **Save**.


---

# 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://help.inspiredtheme.com/articles/faqs/how-to-center-the-heading-of-sections.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.
