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.
This option requires editing the code. Please carefully follow the instructions.
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 Storein the left menu.Click the
···button and then clickEdit code.Select the file
header.liquidin the left sidebar. It's usually placed inside theSnippetsfolder.Copy the code sample above or prepare your own.
Find the
<style>tag
Paste the following code on the next row after the
<style>tag.
.haut-floating-open-iframe {
z-index: 10; /* Change "10" to the desired value */
}Click
Save.
Not a Haut.AI client yet?
Last updated
Was this helpful?