We had the following CSS code for our button so it would only show on mobile, but it’s now showing on desktop as well.
@media(min-width: 550px) {
[class*=“Main__Inner-sc”] {
display: none;
}
}
We had the following CSS code for our button so it would only show on mobile, but it’s now showing on desktop as well.
@media(min-width: 550px) {
[class*=“Main__Inner-sc”] {
display: none;
}
}
Hi there, @Shaan ![]()
Here is an adjusted code that should work fine:
@media(min-width: 550px) {
.es-floating-button-container {
display: none;
}
}
Give it a try and let me know if it helped ![]()
This did not work. Do you have any other advise?
Could you please send me a link to the page where your widget is installed? I’ll be happy to take a closer look ![]()
Thanks! I’ve updated your CSS code:
@media (min-width: 481px) {
[class*='ButtonContent__Container-sc'] {
display: none!important;
}
}
Please check it out and let me know how it’s working on your end ![]()