How can I hide the chat button in the cart drawer?

Hello everyone, my site is www.pratorosso.com.
I am using the Kalles theme and have added the Shopify Inbox app but every time I open the cart drawer the chat button remains above the checkout buttons.
How can I change the code to make the chat button disappear when I open the cart drawer?
Thank you

Hi @Depo12
Its Artzen Technologies! We will be happy to help you today.

I reviewed your website url and I have come up with a reply which might help you in better way.

Here, the z-index value is much more then expected so it is overlapping on the cart drawer.

Here, in the above screenshot you can see that when z-index value is 10 it looks perfectly fine.

So, basically you have to change the z-index value of the chat icon. And the class for the same is iframe#dummy-chat-button-iframe.

Change the z-index of this and this will be absolutely fine.

If this solution helped you then please mark it as accepted.

Let me know if need further assistance
Regards,
Artzen Technologies

It worked perfectly, thank you very much!!

Glad it worked and helped you.
Please feel free to ask anything

Hi!

This thread is exactly what I was looking for but I can’t find where to change the Z-value. What file should I look for within my code?

URL: www.batterygo.se

@Hammingo1 Sorry, can’t see your website’s content, as below

Hi!
I used this code:
iframe#dummy-chat-button-iframe {
bottom: 53px!important;
z-index : 10 !important;
}
@media screen and (min-width: 769px) {
iframe#dummy-chat-button-iframe {
bottom: 83px!important;
z-index : 10 !important;
}

The file you should look for is : theme.min.css

Hey there, this solution worked partially. If a person adds something to cart, opens chat and then returns to cart, the chat icon returns to obscuring the checkout button :disappointed_face: is there a fix?

Hey there, this solution worked partially. If a person adds something to cart, opens chat and then returns to cart, the chat icon returns to obscuring the checkout button :disappointed_face: is there a fix?

Hi there!

Are you able to assist me with mine too? I have the same issue, and the widget is blocking customers from being able to click on checkout properly.