Great.
Replace this current code:
$user_avatar = '';
if ( is_user_logged_in() ) {
$current_user = wp_get_current_user();
$user_avatar = get_avatar( $current_user->user_email, 32 );
}
$output .= $user_avatar;
by this one
$user_avatar = '';
if ( is_user_logged_in() ) {
$current_user = wp_get_current_user();
$user_avatar = get_avatar( $current_user->user_email, 32 );
$output .= $user_avatar;
} else {
if ( ! $titan->getOption( 'right_menu_icon_opt' ) || '' === $right_icon_image ) {
$output .= '<i class="mob-icon-' . $titan->getOption( 'right_menu_icon_font' ) . ' mob-menu-icon"></i><i class="mob-icon-cancel mob-cancel-button"></i>';
} else { $output .= '<img src="' .
$right_icon_image . '" alt="' . __( 'Right Menu Icon', 'mob-menu-lang' ) . '">';
}
}
Can you send me your site url? I would love to have a look.
If you want to keep the url private send me an email to [support AT wpmobilemenu DOT com]