Why I can't print one menu in different places?

Friends, prompt please, modify ready WordPress theme, there is already an adaptive menu but in mobile version I'd need to move to another place. I copied in your code, the menu in another place, but it turns out that only works the menu located below in the code. Even if you could duplicate the menu, it works only what is below. In functions connected everything seems normal, register_nav_menus, tried to add it as another menu in the admin panel appears, but bring neither. code output:
<nav id="site-navigation" class="main-navigation clearfix" role="navigation">
 <div class="wrapper">
 <div class="header-main-menu clearfix">
 if( has_nav_menu( 'primary' ) ){
 <?php wp_nav_menu(array('theme_location' =--> 'primary','container' => 'div', 'container_class' => 'acmethemes-nav2')); ?>
 <!--slick menu container-->
 <div class="responsive-slick-menu clearfix"></div>

I tried just stitching
<?php wp_nav_menu(array('theme_location' =--> 'primary','container' => 'div', 'container_class' => 'acmethemes-nav2')); ?>

Also displays, but if 2 such lines of supply, it only works the lower.
August 19th 19 at 23:23
2 answers
August 19th 19 at 23:25
This is normal behavior when you use the argument theme_location, as it must be unique. To display the menu multiple times to contact him through the argument menuby specifying its id/slug. Read more here.
August 19th 19 at 23:27
And why copy the code? styles not move to another place?

Find more questions by tags WordPress