Shopify Inbox Hide / Put behind the cart Drawer & Menu

I’m trying to hide Shopify Inbox Chat behind Cart Drawer and Menu but no luck.

Currently I have code:

.js-open-cart-drawer #shopify-chat {
display: none !important;
}
iframe#shopify-chat {
z-index: 10 !important;
}

Tried as well:

.js-open-cart-drawer #dummy-chat-button-iframe { display: none; }

iframe#dummy-chat-button-iframe { z-index: 10 !important; }

Can anyone help to hide this when cart drawer or menu is opened? url: roxiecosmetics.co.uk

Hey @Skviotu ,

I can’t even see the chat button at all. Couldn’t find it in the Inspect window as well. Did you disable it?

yes, should i switch this on?

i did switch this on

Ok thanks haha, if it’s off I cannot write test code. Anyway just follow the instructions below

Go to your theme’s “Edit Code” Option, then in the search bar type “theme.liquid”
Below the tag “” tag paste the following. Screenshot attached for reference.


Screenshot is for reference only, the correct code to paste is the one shown above.

1 Like

Pretty much helpful, thank you.