0

How can I create submenus in off canvas in Foundation 6?

I found this handy building block, but it doesn't feature submenus in the LHS off-canvas menu.

I'd like a slide-in submenu like this one (this is Foundation 5).

Mogsdad
  • 40,814
  • 19
  • 140
  • 246
gvanto
  • 1,520
  • 2
  • 18
  • 23

1 Answers1

1

I believe you're looking for Foundation 6's Drilldown menu. See link below and code snippet from page.

<ul class="vertical menu" data-drilldown>
  <li>
    <a href="#">Item 1</a>
    <ul class="vertical menu">
      <li><a href="#">Item 1A</a></li>
      <!-- ... -->
    </ul>
  </li>
  <li><a href="#">Item 2</a></li>
</ul>

http://foundation.zurb.com/sites/docs/drilldown-menu.html

Waterpile
  • 111
  • 1
  • 3
  • Thanks that's it!! This submenu slides in from the right is there a way to make it slide in from the left? – gvanto Feb 09 '16 at 02:30