Skip to content
Advertisement

remove all next divs after a child

I have something like this :

JavaScript

using this:

JavaScript

This will hide only the content i marked on the code, means only childs of the same parent. I need to hide every single thing after productPage.

Advertisement

Answer

You should also go to parent and target the next divs.

JavaScript
JavaScript
JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement