Home › Forums › Support › How to get rid of primary menu This topic has 3 replies, 3 voices, and was last updated 3 years, 5 months ago by Leo. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts October 27, 2020 at 6:30 pm #1507120 rajkumarsm Hi, I have an issue with the menu. I have created a mega menu using the ElementorsKit plugin. Everything is fine but on the mobile, still, the primary menu is loading. I tried to unselect all the locations in ‘View Locations’ but no luck. Could you please guide me on how to get rid of this. My site: Software Testing Material Thanks, Rajkumar SM October 27, 2020 at 8:21 pm #1507175 ElvinStaff Customer Support You can try adding this PHP snippet. add_action( 'after_setup_theme','tu_remove_all_header' ); function tu_remove_all_header() { remove_action( 'generate_header','generate_construct_header' ); remove_action( 'generate_after_header', 'generate_menu_plus_mobile_header', 5 ); } Here’s how to add PHP – https://docs.generatepress.com/article/adding-php/ This snippet completely removes the header & nav on desktop view and the mobile header. October 30, 2020 at 5:44 pm #1511761 rajkumarsm Hi Elvin, I tried it but no luck. Have added the code in the child theme functions file. Thanks October 30, 2020 at 9:15 pm #1511845 LeoStaff Customer Support Hi there, Can you make sure No Navigation is selected for the navigation location setting in the customizer? https://docs.generatepress.com/article/navigation-location/ Let me know 🙂 Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In