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 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>
tagPaste 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".
Last updated
Was this helpful?