Hi Aleix!
Is this a custom menu? If so you can go to the menu screen from your Dashboard. Dashboard > Appearance > Menus and then seeing you have any extra items listed just in case.
If that doesn’t solve it you can try contacting the theme’s author about it as it could be in how they designed the navigation/menu structure. If you would like to edit this yourself, be sure to take precautions so you don’t lose any modifications by creating a child theme. The function that you would look for is wp_nav_menu. Often times it may be located in the header.php file.
I hope this helps you out a bit.
Hi Jose,
I looked up every file on theme just to make sure that wp_nav_menu was only found on the header.php file.
I created the child theme, and I found that on that file surrounding wp_nav_menu:
<div class="navbar navbar-teal">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div id="navmain" class="navbar-collapse collapse" role="navigation">
<?php
wp_nav_menu( array(
'theme_location' => 'primary',
'depth' => 2,
'container' => false,
'menu_class' => 'dropdown nav navbar-nav',
//Process nav menu using our custom nav walker
'walker' => new wp_bootstrap_navwalker()));
?>
</div><!--/.nav-collapse -->
</div><!-- /.navbar -->
</header><!-- #masthead -->
What’s should i change to modify my problem? Really thanks for help, i have already spent like 3 hours triing to solve this xD
Looks like the extra <a> is no longer there. At least by taking a quick look at it now.
Were you able to sort it out?
sure, i could finally solve it! Somehow the image on top-left side was interfering with this, i remove it and the problem was gone, thanks for asking.
That is super strange but glad to see it resolved!