Home > other >  Finding a selector
Finding a selector

Time:12-10

I am trying to disable a wrapper in Pinterest by injecting the attribute 'display: none;' but I can't find the class the wrapper belongs to.

I have tried using the 'inspect elements' tool but the class identifier shown is inherited so adding the attribute to it hides all the elements on the page. enter image description here

CodePudding user response:

click link to see image just open wrapper using inspect and add style="dispaly:none;"

CodePudding user response:

It just so happens I was selecting the wrong wrapper, there's an inner wrapper this

and injecting

.ujU .zI7 .iyn .Hsu

{
    display:none;
}

did it results

  • Related