Problem with the first button of custom menu
-
Hello,
I need your help. I’ve created my custom menu.
I linked the pages to menu through admin panel and inserted this code to functions.phpif (function_exists('register_nav_menus')) { register_nav_menus ( array ( 'main_nav' => 'Main_menu') );
I also called the menu function inside sidebar.php:
`<nav>
<?php wp_nav_menu(array(‘menu’ => ‘Main_menu’)); ?>
</nav>`The problem is that the first button of the menu is inactive. For example if homepage is in the first place of the menu you can’t click on it. If you also change the order of menu and move up the contact page, same happens.
Could you help me?
Thank you !
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Problem with the first button of custom menu’ is closed to new replies.