Shopify themes, liquid, logos, and UX
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
Solved! Go to the solution
This is an accepted solution.
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 "<head>" tag paste the following. Screenshot attached for reference.
<style>
inbox-online-store-chat#ShopifyChat {
z-index: 39 !important;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
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
This is an accepted solution.
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 "<head>" tag paste the following. Screenshot attached for reference.
<style>
inbox-online-store-chat#ShopifyChat {
z-index: 39 !important;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
Pretty much helpful, thank you.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025