By default Magento 2 showing the all store categories in top menu with a tree structure, I want to filter with custom category ids and only that filtered category need to show in category top menu navigation and rest will be removed.

Please help me to achieve this customization.

1 Answer 1


If you just want to show particular categories in your menu navigation, just set the Include in Navigation Menu setting to 'No' for the categories you don't want to display.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.