I’m build a nav using the smart action and I noticed a multi-level option and I can choose an element that is the dropdown.
There doesn’t seem to be any updated documentation to reflect this feature. What is the expected markup of such a thing?
I can make something happen but it’s not good. Is there an expectation for Bootstrap to be installed?
1 Like
Further to this, creating a sub menu in Wordpress creates this markup. The parent page ‘Shop’ completely disappears. Is this a bug?
1 Like
I have the same question! @fakesamgregory, did you figure this out? I am adding the action to the li that has submenu in my HTML, but WP adds submenu to every menu item, even tho they dont’ have submenu assigned.
Solved!!
So Smart menu works well, but it’s about the submenu placement in HTML. Define menu on ul, and make sure that the first li is a regular link (no dropdown). Then add your ul.submenu to second li, and mark that one in Smart action. Most likely Smart action looks for regular menu first ,and then defines the one with dropdown. If they are one the same, it just duplicates dropdowns.
So, to recap, Smart Menu on top nav ul, first li regular menu link, and second with submenu.
1 Like