Tried it - no dice.
I have just Base + AG Annoyances enabled.
Here’s a screenshot of my rules…. Any ideas welcome. I’m not sure why it isn’t working. It works temporarily when I first block the element, but then stops when the page is reloaded.
First shot shows how the site loads by default. I’ve circled the blank area at the top that I’m trying to get rid of.
Second shot shows the effect of the code in my original post - it removes the blank area. For some reason, when I apply that code and reload the page, it doesn’t work...
On my iPad, I blocked a top banner element. AdGuard generated the following code:
cnbc.com###MainContentContainer > div:last-child > div.homepage.PageBuilder-page > div.PageBuilder-pageWrapper > div.PageBuilder-containerWidth100.PageBuilder-pageRow:nth-child(2) >...