Hide the main menu for home page and main menu display for another pages in magento2.?
Magento – Hide the main menu for CMS Pages in Magento2
magento-2.1topmenu
magento-2.1topmenu
Hide the main menu for home page and main menu display for another pages in magento2.?
Best Answer
The homepage has an unique class on the body element, like: "cms-home".
After you identify that class, add a css property to hide the menu in a css file that is included on homepage, like this:
I hope it helps!