Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1223954

    markhd
    Participant

    I’m using the integrity theme and I noticed that the navbar links are duplicated, once for desktop and once for mobile. Is this going to dent my SEO?

    Do they need to be duplicated? Can’t we just hide/show the hamburger menu but use one set of links style appropriately?

    <nav class="x-nav-wrap desktop" role="navigation">
    	<ul id="menu-main" class="x-nav">
    		<!-- here once -->
      		<li id="menu-item-9" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-7 current_page_item menu-item-9"><a href="http://www.domain.com/my-page/"><span>I'm here twice</span></a></li>
    	</ul>
    </nav>
    
    <div class="x-nav-wrap mobile collapse">
    	<ul id="menu-main-1" class="x-nav">
    		<!-- here twice -->
    		<li class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-7 current_page_item menu-item-9"><a href="http://www.domain.com/my-page/"><span>I'm here twice</span></a></li>
    	</ul>
    </div>
    #1224188

    Rupok
    Member

    Hi there,

    It’s a standard practice for responsive sites and it won’t affect your SEO I believe.

    Cheers!