I have a horizontal top level menu and only room for 7-8 links without breaking the layout.
Is there a way limit the number of top level menu items?
I found an old answer to the same question on Stack Exchange, but expect it was for Drupal 7.
I would ideally like to implement a solution that's independent of the theme.
I did find Menu Item Limit but this just limits the total number of links in a menu.