Viewing 11 replies - 1 through 11 (of 11 total)
  • Anonymous User 15400552

    (@anonymized-15400552)

    I got the same question. Populating on desktop menu’s works great. But the mobile menu doesn’t work.

    Thread Starter ozgurerdogan

    (@ozgurerdogan)

    I found a workaround for this. You can create a dummy menu at same level that JS menus are populated. And make it display:none with css. And it works fine :))

    Anonymous User 15400552

    (@anonymized-15400552)

    Awesome! How did you find out?

    Edit: Doesn’t work for me ??

    • This reply was modified 4 years, 7 months ago by Anonymous User 15400552.
    Thread Starter ozgurerdogan

    (@ozgurerdogan)

    Suddenly came to my mind ??

    Thread Starter ozgurerdogan

    (@ozgurerdogan)

    First try without making it display:none and see dummy menu togethet with populated menus.

    Anonymous User 15400552

    (@anonymized-15400552)

    Yeah I tried, but it doesn’t do anything. To make sure. This is how your menu is build up right?:

    Top menu item (with JC submenu enabled for populating)
    –> sub menu item (dummy)

    And it shows on mobile for you?

    Thread Starter ozgurerdogan

    (@ozgurerdogan)

    No, mine is submenu is populated with js and I added dummy menu to same level with submenu. My tops menu is not using JC.

    Anonymous User 15400552

    (@anonymized-15400552)

    Can you make it like a tree as i Deed with description per item? Would really help me and most prob. other to. Thanks!

    Thread Starter ozgurerdogan

    (@ozgurerdogan)

    Sorry I did not understand what you mean.

    Anonymous User 15400552

    (@anonymized-15400552)

    Nevermind, found out how to get it working without hidden menu workaround.

    Add this on to your child theme functions!

    // enable compatibility with theme custom menu walkers
    add_filter('jcs/enable_public_walker', '__return_false');
    • This reply was modified 4 years, 7 months ago by Anonymous User 15400552.
    Thread Starter ozgurerdogan

    (@ozgurerdogan)

    I remember it. But it only works (I guess) with child themes which I do not use (I think).

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Mobile menu.’ is closed to new replies.