Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi Pierre,

    It will change from site to site. You can find out yourself though: in Chrome, right click on the menu and go to ‘Inspect Element’, you will see the HTML for the menu and the menu class there.

    Regards
    Tom

    Thread Starter Pierre_02

    (@pierre_02)

    Hi Tom ?? !

    Thanks for the quick reply, but I have not been clear ;)…
    I know how to GET the current class (generated by mmm), I’d like to know how to KEEP my defined class in my header ;)…
    In fact, as your plugin replace my class by its own, it makes my mobile menu stay empty (it is, normally, filled by javascript based on its class name)…

    TIA Tom ?? !!

    Friendly,

    Pierre.

    Plugin Author megamenu

    (@megamenu)

    Hi Pierre,

    Still not sure I’m following…

    The class will always be mega-menu-wrap.

    The ID will always be mega-menu-wrap-theme_location. It won’t change once it is set.

    Regards,
    Tom

    Thread Starter Pierre_02

    (@pierre_02)

    Ok, thanks Tom, I’ll find an other way to do it ;)…

    Amicably,

    Pierre.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to keep class define with "menu_class"’ is closed to new replies.