I'm creating a custom master page and I want to create a new top navigation similar to this page. I only know how to add it using content editor but I don't want the menus to appear on any dialog boxes as well (i.e. Add a Page from the GEAR icon).
I added the html snippet for Top Navigation from Design Manager and read through this page and I can't figure out how to customize the links. I dont want it to automatically extract the links from the Pages library.
In DevTools, it seems it possible to remove it but I can't figure out how to code it properly in css targeting a class inside another class: