• Resolved Francesco

    (@frankie_it_gen)


    Hi,
    I would love to use this plugin but, while configuring it on a multilingual site, can’t figure out how to have it to work both in 2(+) languages.

    WPML gives it’s own css class to menus, such as: #menu-primary for english and menu-primary-other-lang0 for other ones.

    Adding them in comma separated values does not help.

    Any ideas?

    Francesco

    https://www.ads-software.com/plugins/slicknav-mobile-menu/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Works fine on a WPML site here.

    If you could post a link to your site, it might be possible to identify the correct id/class from your html source.

    Thread Starter Francesco

    (@frankie_it_gen)

    Hi,
    this is the url: https://goo.gl/CpJ5aN

    and where I’ve arrived:

    #menu-mostolio-primary,#menu-pre-left
    works for english only

    #menu-mostolio-primary-italian0,#menu-pre-left-it
    works for italian only

    from the source I’ve also found:
    #nav_menu-3
    it works both in eng and ita (without the #menu-pre-left, of course) but menu output is horizontal instead of the “needed” vertical; not an option.

    Thanks in advance
    Francesco

    Try this for main menu:

    .nav-header .menu

    Try this for main menu and top left menu combined:

    .nav-header .menu, .preheadercontainer .menu

    Thread Starter Francesco

    (@frankie_it_gen)

    Ov3rfly, you rock!

    It works like a charm.

    Thanks a lot,
    Francesco

    For interested readers, find/use the id #something or class .someclass of the ul tag of your menu(s) and (if it is not unique on the page) prepend an id or class of a parent tag which contains that ul.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Multilingual’ is closed to new replies.