Seems to be a common problem reported elsewhere in the Forum. No known solution at moment.
Are you using an “hover menu” in which parents are links themselves?
If yes wanna try this patch?
Add the following code to your child-theme functions.php
add_filter('tc_menu_open_on_click', 'mobile_menu_patch', 20, 2);
function mobile_menu_patch($replace, $search){
if ( wp_is_mobile() && 'hover' == esc_attr( tc__f( '__get_option' , 'tc_menu_type' ) ) )
return $search;
return $replace;
}
//add tc-hover-menu class
add_filter('tc_menu_args', 'add_tc_hover_menu_class');
add_filter('tc_menu_wrapper_class', 'add_tc_hover_menu_class');
function add_tc_hover_menu_class($arg){
if ( ! (wp_is_mobile() && 'hover' == esc_attr( tc__f( '__get_option' , 'tc_menu_type' ) ) ) )
return $arg;
if ( is_array($arg) ){
$arg['menu_class'] = 'nav tc-hover-menu';
return $arg;
}else
return $arg . ' tc-hover-menu-wrapper';
}
Thanks for that. It works perfectly! 🙂
And yes I am using an “hover menu” in which parents are links themselves?