Set z-index for button independently of Messenger open state for Web Widget
Is there currently a way to set the zIndex for the button but not affect the messenger open state? We have a use case where ideally the button would fall behind a sticky CTA element, but the open state would still appear on top of all elements so it could be easily interacted with and closed.
We are currently setting the z-index with the following, but it's setting the zIndex for all iframes (as the docs state that it will).
window.zE('messenger:set', 'zIndex', 123);
Thanks for any info.
-
Hi Nathan!
As of right now, I don't believe that is possible. You're only able to set the z-index for the entire messaging web widget iframe. Apologies for any inconvenience!
Best,
Erica
Please sign in to leave a comment.
1 Comments