> For the complete documentation index, see [llms.txt](https://docs.saas.haut.ai/haut.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.saas.haut.ai/haut.ai/quick-start-guides/no-code-app-for-e-commerce-businesses/integrate-consumer-app-to-your-e-commerce-website/integrate-as-floating-button-to-shopify/change-the-stack-of-the-order-z-index-of-the-floating-button.md).

# Change the stack of the order (z-index) of the Floating Button

This page describes how to change the z-index of the Floating Button.

{% hint style="danger" %}
This option requires editing the code. Please carefully follow the instructions.
{% endhint %}

{% hint style="info" %}
The `z-index` property specifies the stack order of an element.

An element with greater stack order is always in front of an element with a lower stack order.
{% endhint %}

## Default z-index

By default, the `z-index` of the Floating Button is set to `2147483647`.

## How to customize the position of the Floating Button

To change the position on the floating button, do the following:

* Open your Shopify account and click `Online Store` in the left menu.
* Click the `···` button and then click `Edit code`.
* Select the file `header.liquid` in the left sidebar. It's usually placed inside the `Snippets` folder.
* Copy the code sample above or prepare your own.
* Find the `<style>` tag

  <figure><img src="https://245161714-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MWxBX_zB4FnflOpyBGO%2Fuploads%2FKGP7bTyx40RIimQzGKoM%2Fimage.png?alt=media&amp;token=9cabb394-9584-45a0-a1c9-e4f7a9095023" alt=""><figcaption></figcaption></figure>
* Paste the following code on the next row after the `<style>` tag.

```css
.haut-floating-open-iframe { 
    z-index: 10; /* Change "10" to the desired value */
}
```

* Click `Save`.

***

{% hint style="warning" %}
Not a Haut.AI client yet?
{% endhint %}

<a href="https://haut.ai/book-a-demo?utm_source=referral&#x26;utm_medium=saas_docs&#x26;utm_campaign=Docs_SaaS_HautAI" class="button primary" data-icon="user-vneck">Book a demo</a> <a href="https://haut.ai/product/ai-skin-analysis?utm_source=referral&#x26;utm_medium=saas_docs&#x26;utm_campaign=Docs_SaaS_HautAI" class="button secondary" data-icon="external-link">Platform overview on haut.ai</a>


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.saas.haut.ai/haut.ai/quick-start-guides/no-code-app-for-e-commerce-businesses/integrate-consumer-app-to-your-e-commerce-website/integrate-as-floating-button-to-shopify/change-the-stack-of-the-order-z-index-of-the-floating-button.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
