> 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/customize-the-position-of-the-floating-button.md).

# Customize the position of the Floating Button

This page describes how to customize the position of the Floating Button.

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

## Default position

By default, the position of the Floating Button is the following:

* Aligned to the right-bottom corner
* 20px padding from the right side of the page
* 20px padding from the bottom side of the page

## Available options for positioning

In general, there is no limitations of positioning of the Floating Button. Below, we shared some typical examples.

### Place the Floating Button on the bottom-right but with different paddings

Use the following code to keep the position of the Floating Button, but change the paddings:

```css
.haut-floating-open-iframe {
    bottom: 20px; /* Change "20px" to the desired value */
    right: 20px; /* Change "20px" to the desired value */
  }
```

### Place the Floating Button on the bottom-left corner

Use the following code to put the Floating Button to bottom-left corner:

```css
.haut-floating-open-iframe {
    right: auto; 
    bottom: 20px; /* Change "20px" to the desired value */
    left: 20px; /* Change "20px" to the desired value */
  }
```

### Place the Floating Button on the bottom-center

Use the following code to put the Floating Button to bottom-center, but change the paddings:

```css
.haut-floating-open-iframe {
    bottom: 20px; /* Change "20px" to the desired value */
    left: calc(50% - 96px); /* This calculation is based on the button with the text "Free AI Skin Analysis" */
    right: auto;
  }
```

## 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 copied code on the next row after the `<style>` tag.
* 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/customize-the-position-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.
