You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We changed the max_depth variable to 3 in the template.php file and the HTML code for the 3rd level menu items is generated appropriately. However, we are unable to figure out what Javascript/CSS code triggers displaying the 3rd-level menu items. Can you help?
If there is any documentation that describes how to fix this please point us in the right direction.
Thank you very much,
Alex
The text was updated successfully, but these errors were encountered:
I don't believe Kalatheme's CSS supports more than 2 levels but it shouldn't be too hard to add in your custom theme if you want to. From what you described, it sounds like the nested markup is being printed, so you might want to look at the following examples to get an idea of how to do it:
Thank you @soniktrooth for your kind reply, which was very helpful.
I figured out that the menu is part of the Bootstrap theme and found various help on the web.
The solution I settled with had the following changes:
Changed line Subtheme generation requires kalatheme to be default theme #215 of 'docroot/sites/all/themes/contrib/kalatheme/template.php' $main_menu_tree = menu_tree_all_data('main-menu', NULL, 3);
(Replaced the number 2 with 3, so Drupal retrieves 3 levels for the main menu.)
We changed the max_depth variable to 3 in the template.php file and the HTML code for the 3rd level menu items is generated appropriately. However, we are unable to figure out what Javascript/CSS code triggers displaying the 3rd-level menu items. Can you help?
If there is any documentation that describes how to fix this please point us in the right direction.
Thank you very much,
Alex
The text was updated successfully, but these errors were encountered: