• Resolved 1000camels

    (@1000camels)


    Hi,

    I am using Elementor and have some important classes in the submenu that are not there when I activate the submenu. Is there a way to add these classes?

Viewing 1 replies (of 1 total)
  • Thread Starter 1000camels

    (@1000camels)

    I figured it out!

    I used a hook:

    function my_adjust_menu_styles( $submenu_classes, $depth, $args ) {
    $submenu_classes[] = ‘elementor-nav-menu–dropdown’;

    return $submenu_classes;
    }
    add_filter( ‘jcs/menu_level_class’, ‘my_adjust_menu_styles’, 10, 3 );

    By the way, your website and documentation is down.

Viewing 1 replies (of 1 total)
  • The topic ‘Losing classes on submenus’ is closed to new replies.