.collection-xxxxxxxxxxxxxxxxxxxxxxx #mainNavigation>:nth-child(n+2) {display: none; } .collection-xxxxxxxxxxxxxxxxxxxxxxxxx #secondaryNavigation>:nth-child(n+1) {display: none;}