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!
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024