Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SlikNav multi-level menu on desktop view?

Tags:

I'm using SlikNav to make a mobile navigation menu. I have this structure:

<nav>     <ul>         <li>             <a href="#">Home</a>         </li>         <li>             <a href="#">Products</a>             <ul>                 <li>                     <a href="#">Child1</a>                 </li>                 <li>                     <a href="#">Child2</a>                 </li>             </ul>         </li>     </ul> </nav> 

This works fine on mobile view, here is a codepen.

My desktop version of this is simply: nav ul li { display:inline; } which makes the list display inline.

My question, is it possible for SlickNav to make the dropdown menu also work in desktop view?