# Edit code

To edit code of Flash Search app in your theme, please go to **Action -> Edit code**.

![](https://18485717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCzuOkAOl5qfbBdbB78Ru%2Fuploads%2Fn4pG78w333n32whyGh5L%2Fimage.png?alt=media\&token=e9ef44c4-4cc7-400c-8414-dc7292fe43bd)

Here you can custom **Javascript** or **CSS**. But make sure you know the code to be able to customize them :)

For example, I want to **center** the **product title, price** on the Collection page. It looks like this now:

![](https://18485717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCzuOkAOl5qfbBdbB78Ru%2Fuploads%2Fe0ngdojwYpmnTpMVfpQV%2Fimage.png?alt=media\&token=fe0223a6-f6a6-408e-9a1f-579937e730ed)

I will add some css code to Flash Search app like this:

![](https://18485717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCzuOkAOl5qfbBdbB78Ru%2Fuploads%2FfNuY1MWivmDPHFdSjCXd%2Fimage.png?alt=media\&token=d7498ba5-1045-43c1-8ddd-226a350ca76d)

*Result:*

![](https://18485717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCzuOkAOl5qfbBdbB78Ru%2Fuploads%2FJvVRwpUCnl0PHkZNaw4y%2Fimage.png?alt=media\&token=6b72e5cc-7f91-4d74-92b4-95d894ca385c)


---

# 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.flashsearch.io/layout/customization/edit-code.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.
