How to add a different menu for mobile version

Excursionist
6 0 0

 

So I made a new navigation menu for mobile version called "mobilemenu", and I don't know where and how I should put this code in. {% for link in linklists.mobilemenu.links %}

 

 

<div data-section-id="{{ section.id }}" data-section-type="sidebar-section">
<nav class="grid__item small--text-center medium-up--one-fifth" role="navigation">
<hr class="hr--small medium-up--hide">
<button id="ToggleMobileMenu" class="mobile-menu-icon medium-up--hide" aria-haspopup="true" aria-owns="SiteNav">
<span class="line"></span>
<span class="line"></span>
<span class="line"></span>
<span class="line"></span>
<span class="icon__fallback-text">{{ 'layout.navigation.menu' | t }}</span>
</button>

 

0 Likes