Home › Forums › Support › Removing main menu This topic has 5 replies, 4 voices, and was last updated 5 years, 3 months ago by David. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts January 22, 2018 at 11:24 am #477358 Fernando Dear support Would you tell me how to remove the nav main menu from my site since I’ll add it using Elementor template? I’ve add to wp_head hook the next code but does not work: <?php add_filter( 'nav-below-header', 'disable_header' ); function disable_header() { return ''; } ?> Worth mention that I’ve also set Primary Navigation as below the header. Thanks January 22, 2018 at 11:39 am #477372 Fernando Sorry, I found out it. The correct hook is: <?php add_filter( 'generate_navigation_location', 'disable_header' ); function disable_header() { return ''; } ?> Thanks anyway π Regards January 22, 2018 at 12:46 pm #477404 TomLead Developer Lead Developer You can also go to Customize > Layout > Primary Navigation and set the location to Hide π January 22, 2018 at 1:21 pm #477426 Fernando That’s why we say GP is a very versatile product. π January 21, 2019 at 4:56 am #787730 ellegaarddk I’ve just tried to hide the menu by setting it to Hide – but it still shows up in tablet and mobile? January 21, 2019 at 6:54 am #787951 DavidStaff Customer Support Hi there, if you are using the Mobile Header then currently you would need some CSS or disable the Site Header on that page. Is there a specific instance where you want to hide the menu? Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In