> For the complete documentation index, see [llms.txt](https://help.getalltool.com/king-linked-options/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.getalltool.com/king-linked-options/how-to-display-the-option-correctly-in-the-product-details-page-generated-by-gempages.md).

# How to display the option correctly in the product details page generated by Gempages

If you use Gempages to generate product pages, you may find that our option is in the top left corner of the page, which is not what we want.

<figure><img src="/files/WQeALLglN3WuHlHEdca2" alt=""><figcaption></figcaption></figure>

To display the option in the correct position, we need to follow these steps:

Step 1: Open the Gempages app and navigate to the template editor.

<figure><img src="/files/bXihNazVcpm8lNNuB9dk" alt=""><figcaption></figcaption></figure>

Step 2: click the Add Element button to add a Custom code element.

<figure><img src="/files/vDsXKsDqSyjS21Mz8Q1r" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/WWEctXso0CDkWH8LwlB6" alt=""><figcaption><p>Drag and drop the element to the desired position</p></figcaption></figure>

Step 3: Click the **Edit code** button on the left panel and copy the following code snippets into the code editor.

```
<div class="linked-option-variants-container"></div>
```

<figure><img src="/files/lAKyXYs41zwyeCWD9ib2" alt=""><figcaption><p>Click the Edit code button</p></figcaption></figure>

<figure><img src="/files/sbXUmBuJNyTrxhbwWj7F" alt=""><figcaption><p>Copy code snippets to code editor</p></figcaption></figure>

<figure><img src="/files/eeZWKLmmaD7Bh8EU8NJg" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/nSYY2zMoiAyzH4YJVZGe" alt=""><figcaption></figcaption></figure>


---

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

```
GET https://help.getalltool.com/king-linked-options/how-to-display-the-option-correctly-in-the-product-details-page-generated-by-gempages.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.
