Menu icon Foundation

My Posts

No Content

My Comments

Diego Lucero commented on Mo's post over 5 years

Hey Guys, I've just been playing around with Foundation for a few hours and I ran into the same problem as it does not come with the template "index.html"

I think I found the answer included in the"view-source" of the first sample menu in the Top-bar navigation documentation. (http://foundation.zurb.com/docs/components/topbar.html) I used the class "has-dropdown" on the li elements that have a dropdown contained within, and the class "dropdown" on the ul contained within it.

The example shows a 4 level deep sub-menu that allows for the parent element menus to stay open as you click deeper into the menu.

Let me know if this solves it, or if I completely missed what you were asking for (again here is the link to the documentation: http://foundation.zurb.com/docs/components/topbar.html)

And the full raw code of the nav itself:
http://codepen.io/dlucero23/pen/ltsAk

Posts Followed

No Content

Following

    No Content

Followers

My Posts

No Content

My Comments

You commented on Mo's post over 5 years

Hey Guys, I've just been playing around with Foundation for a few hours and I ran into the same problem as it does not come with the template "index.html"

I think I found the answer included in the"view-source" of the first sample menu in the Top-bar navigation documentation. (http://foundation.zurb.com/docs/components/topbar.html) I used the class "has-dropdown" on the li elements that have a dropdown contained within, and the class "dropdown" on the ul contained within it.

The example shows a 4 level deep sub-menu that allows for the parent element menus to stay open as you click deeper into the menu.

Let me know if this solves it, or if I completely missed what you were asking for (again here is the link to the documentation: http://foundation.zurb.com/docs/components/topbar.html)

And the full raw code of the nav itself:
http://codepen.io/dlucero23/pen/ltsAk

Posts Followed

No Content

Following

  • No Content

Followers

  • No Content