• so my desktop site looks great but on the mobile version there is an unused unwanted menu icon which doesn’t do anything it just takes up space. see this https://mega.nz/file/o2xXDBhb#C3dq8ngpVowFTXqGgB7wxnv7RquTebAhNApr1kTewOU ringed in red.
    I dont even know if that is the right name for it so cant search the forums but suspect its to do with the Nisarg theme. But Im using Mega Menu with it so maybe something in that
    any ideas? anyone
    thanks

    • This topic was modified 4 years, 9 months ago by andrewgj.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter andrewgj

    (@andrewgj)

    ok i found a way to do it to edit the header php and remove the toggle menu

    Basically, you have to go into your themes header.php and delete the old menu. You can go do it from WordPress file editor in the admin panel, look for header.php and there should be some lines to the top that resemble css styling for the old header menu. Just delete that and save it.

    I have no idea which bit of the code to modify
    this is the code I think is relevant

    <header id="masthead"  <?php echo $add_class; ?> role="banner">
    	<nav id="site-navigation" class="main-navigation navbar-fixed-top navbar-left" role="navigation">
    		<!-- Brand and toggle get grouped for better mobile display -->
    		<div class="container" id="navigation_menu">
    			<div class="navbar-header">
    				<?php if ( has_nav_menu( 'primary' ) ) { ?>
    					<button type="button" class="menu-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
    						<span class="sr-only">Toggle navigation</span>
    						<span class="icon-bar"></span> 
    						<span class="icon-bar"></span>
    						<span class="icon-bar"></span>
    					</button>
    				<?php } ?>
    				<?php

    lines 35 to 48
    any help appreciated

    • This reply was modified 4 years, 9 months ago by andrewgj.
Viewing 1 replies (of 1 total)
  • The topic ‘unused menu button on mobile’ is closed to new replies.