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?



right now, the menu is already a dropdown in desktop mode and also in mobile mode..
Just for looks good, do that - add a class "sub" in ul after li.
and css -