Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I added a chat bubble to my website using the following code after <head> on theme.liquid.
My store is www.tearetapetes.com.br and my theme is Habitat.
<link rel="stylesheet" href="[link here]">
<a id="robbu-whatsapp-button" target="_blank" href="[link here]">
<img src="[link here]">
</a>
The bubble appears, fine. But when you scroll down, it stays behind some elements. Please check this video or screenshot attached to understand.
https://watch.screencastify.com/v/yno7mjVDMfJLJsOj3Tu2
How do I fix that? Thanks!
Solved! Go to the solution
This is an accepted solution.
Hi @tearetapetes, add this code to your theme's CSS file.
#robbu-whatsapp-button {
z-index: 99999999 !important;
}
This is an accepted solution.
Check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes".
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
a#robbu-whatsapp-button {
z-index: 99 !important;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This is an accepted solution.
Hi @tearetapetes, add this code to your theme's CSS file.
#robbu-whatsapp-button {
z-index: 99999999 !important;
}
Thanks! It worked.
This is an accepted solution.
Check this one.
From your Shopify admin dashboard, click on "Online Store" and then "Themes".
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
a#robbu-whatsapp-button {
z-index: 99 !important;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
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