Base solution for your next web application
Open Closed

Add a menu item seperator in SPA #2226


User avatar
0
rvanwoezik created

Maybe a stupid question but how do i add a menu seperator in SPA.

<a class="postlink" href="http://keenthemes.com/preview/metronic/theme/admin_1_material_design/index.html">http://keenthemes.com/preview/metronic/ ... index.html</a>

Like "Features" and "Layouts" in above link

Thanks in advance


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    AspNet Zero does not have anything to support that directly. You can check menuItem's url value in _SideBar.cshtml (or sidebar.cshtml for SPA) while looping menuItems. You can put below html before any menu item you like.

    <li class="heading">
        <h3 class="uppercase">Layouts</h3>
    </li>