ResolvedHow to disable main menu on all pages except home

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #28140

    Since the update from 2.0 to the latest release the main menu is showing on each page.

    I found I could disable them per page, and on the shop and blog page.

    However the main menu still shows on the category pages. What is the easiest way to disable it everywhere except home?


    I found out I could deselect the main menu in menu locations. And then set it on the home page. Well coded =)


    Sorry, i have to revisit this: when I disable the main menu in menu locations the menu is no longer regarded as an mega menu and it looses all icons/subtexts.

    How can I disable the main menu everywhere but on the main page?


    I fixed it now by using an child theme header.php and using the following code:

    if (is_home() || is_front_page())
    Is this this the preferred way?


    It would work, but not recommended. I’d suggest setting it as Main Menu and remove it on pages you don’t want it to appear. For standard pages you can do it in the page settings and for shop and blog page, you can do it under Theme Options.

    Yes, in order to use the mega menu functionality it must be set as main menu. Also, please note that the theme gives you the possibility to build a dedicated mobile menu if you wish use a simpler mobile-optimized menu. If there is no dedicated mobile menu, the theme will display the main menu as mobile menu too.

    Hope this helps.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register