Hi,
Try to replace the code below that is inside mobmenu.php around line 873
if( $titan->getOption('enable_left_menu') ){
$output .= '<div class="mobmenul-container"><a href="#" id="mobmenu-center" class="mobmenu-left-bt">';
$left_icon_image = wp_get_attachment_image_src( $titan->getOption( 'left_menu_icon' ) );
$left_icon_image = $left_icon_image[0];
if ( !$titan->getOption( 'left_menu_icon_opt' ) || $left_icon_image == '' ) {
$output .= '<i class="mob-icon-menu"></i><i class="mob-icon-cancel"></i>';
} else {
$output .= '<img src="' .$left_icon_image . '" alt="Left Menu Icon">';
}
$output .= '</a></div>';
}
by this new block of code
if( $titan->getOption('enable_left_menu') ){
$output .= '<div class="mobmenul-container"><a href="#" id="mobmenu-center" class="mobmenu-left-bt">';
$left_icon_image = wp_get_attachment_image_src( $titan->getOption( 'left_menu_icon' ) );
$left_icon_image = $left_icon_image[0];
if ( !$titan->getOption( 'left_menu_icon_opt' ) || $left_icon_image == '' ) {
$output .= '<i class="mob-icon-menu"></i><i class="mob-icon-cancel"></i>';
} else {
$output .= '<img src="' .$left_icon_image . '" alt="Left Menu Icon">';
}
$output .= '</a></div>';
echo $output;
$output = '';
do_action('wpml_add_language_selector');
}
Let me know if it works.
-Takanakui
Thank you so much.
Now I see the language selector on the top left.
How can I move it to the right of the menu button, like this: https://goo.gl/OOkt9J
Thanks a lot for your support!
Roberto
Great.
Add this code below to the custom css option in the general options of WP Mobile Menu. That should sort it.
#lang_sel_list {
position: fixed;
left: 90px;
top: 32px;
}
Let me know if it worked.
-Takanakui
It works like a charm.
Thanks a lot for your support!
Best regards,
Roberto
No problem. Glad I could help.
-Takanakui