This topic contains 3 replies, has 2 voices, and was last updated by Sean Sean 2 years, 6 months ago.

Menu unable to expand


  • kiritech
    Participant

    Posts: 5
    Member Reply #3690

    According to your document in your metronic_v4.5.2 files,
    I’ve included
    <script src=”../assets/global/scripts/metronic.js” type=”text/javascript”></script>
    –> this should be app.js ? there is no metronic.js in your files.
    <script src=”../assets/layouts/layout/scripts/layout.js” type=”text/javascript”></script>
    after the sidebar area,
    Seems I don’t need to initial, and it will initial itself after I include them.
    But my side bars still have no ‘nav-item’ class.
    Which javascript file will add these class?
    Here is our sample site:
    http://kiri-tech.com:8080/

    Thanks.

    • This topic was modified 2 years, 6 months ago by  kiritech.
    Sean
    Sean
    Keymaster

    Posts: 4435
    Support Staff Reply #3712

    Hi :),

    Sorry for the typo error. Yes, that should be app.js not metronic.js. We will correct it in the next update very soon.

    Thanks.


    kiritech
    Participant

    Posts: 5
    Member Reply #3716

    how about second question ‘nav-item’?

    in our case, menu bar is unable to expand and seems we have no ‘nav-item’, what should we we do? Thanks.

    Sean
    Sean
    Keymaster

    Posts: 4435
    Support Staff Reply #3725

    Hi,

    Since Metronic v4.5.0 we slightly changed the sidebar menu markup. So you will need to add “nav-item, nav-link, nav-toggle” classes according to the latest HTML code of admin 1 theme. For more info please refer to the latest theme and the changelog from the documentation. If you need any further help please let us know.

    Thanks.

You must be logged in to reply to this topic.