Home › Forums › Support › Primary navigation Menu not RTL when swith to arabic This topic has 11 replies, 2 voices, and was last updated 3 years, 7 months ago by Leo. Viewing 12 posts - 1 through 12 (of 12 total) Author Posts February 23, 2020 at 2:02 am #1174142 makaouif Hi guys, I try to align primary navigation menu to the right (when swith to arabic) but the menu still in left. i’m using WPML Theme child GP Premium February 23, 2020 at 9:39 am #1174528 TomLead Developer Lead Developer Hi there, Have you tried the Navigation Alignment option in Customize > Layout > Primary Navigation? Let me know π February 23, 2020 at 10:11 am #1174555 makaouif Thank you for your answer Tom Yes i tried the Navigation Alignment option Switching between Arabic & English (logo and body pages function well RTL) The problem with menu bar, fixed in the left side and when i Switching to arabic stay in the left side. February 23, 2020 at 3:41 pm #1174722 makaouif Any help pls February 23, 2020 at 6:07 pm #1174769 TomLead Developer Lead Developer Can you try this function?: add_filter( 'option_generate_settings', function( $settings ) { if ( is_rtl() ) { $settings['nav_alignment_setting'] = 'right'; } return $settings; } ); Let me know π February 24, 2020 at 12:13 am #1174880 makaouif π nothing happened February 24, 2020 at 9:14 am #1175456 TomLead Developer Lead Developer Strange, how did you add the function? February 24, 2020 at 9:41 am #1175500 makaouif I add the function to the function.php in Edit Theme of GeneratePress Child theme. You find below screenshot of my Dashboard. https://drive.google.com/open?id=1EKPg5MFY_BnH8aYoSp7-OgdeRzE7sgWz i hope to find sulotion regards February 24, 2020 at 11:21 am #1175580 makaouif wait wait it function well ….. can you confirm that how i added it, it’s right way? February 24, 2020 at 3:17 pm #1175764 LeoStaff Customer Support Yup that looks correct to me π September 5, 2020 at 2:14 pm #1432334 makaouif it function well β¦.. Thank you September 6, 2020 at 9:02 am #1433018 LeoStaff Customer Support No problem π Author Posts Viewing 12 posts - 1 through 12 (of 12 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In