Home > Enterprise >  Trying to remove an ID via CSS
Trying to remove an ID via CSS

Time:11-06

I have an ID that I need to modify via an extension called Stylus (Chrome). Basically, I need it to display nothing, as the website uses an element I do not want to see. In any case, when I place:

#7821s3s693453355sdb487326acb {display: none !important}

It still displays it. I also tried removing the class. I was wondering, is it possible that certain elements like buttons (which this one is specifically) still be displayed, regardless of whether or not we want it displayed or not?

I tried removing other things for testing, and those worked. Just not THAT specific one. I dunno if it's because the ID is extremely long, or something else I'm not seeing.

CodePudding user response:

Try:

*[id="7821s3s693453355sdb487326acb"] {display: none !important}
  •  Tags:  
  • css
  • Related