When I search for deaths I don't type anything in the births and marriages panels, but i still get births and marriages pop up in the results. How do I filter them out please? This is when I use the advanced search panel.
If you only want records of type=death, then use the filter on the right panel and scroll down to "Record Options" and select "Type" and then "Death". This is explained in the blog: https://www.familysearch.org/en/blog/search-historical-records-update
I am sure I had the same experience a couple of days ago. However, I just did a test search for any William Wrightson who died in England between 1860 and 1940 and got 86 results, all of which related to a death or burial. The link below shows my search criteria.
But, yes, I know I recently did have a problem in editing a results list in order to filter out the events that were not death-related. Maybe you need to start again from scratch if you find yourself in this situation in future.
Theoretically, if you set a filter (using those gray bubbles above the results) of, say, death place = Continental Europe (or whatever it is that you're looking for), then any non-death results should go away. Of course, theoretically, they shouldn't be showing up in the first place, hence my weasel words. (I swear, sometimes the new interface utterly fails to communicate properly with the actual algorithms, so that they appear to just vaguely take our inputs under advisement.)