Button now visible on desktop

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 :waving_hand:

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 :slightly_smiling_face:

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 :slightly_smiling_face:

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 :slightly_smiling_face: