Tagged: ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #363528

    Hi!

    Is there a way to position the language switcher (flag icons) to the right of the menu, even when you have extra element with info on top of the menu header ?

    Please example here

    (here the language switcher is where i want them, but now i don’t have any extra info at the top of the page)
    http://restaurangfoto.se/martentrotzig/julbord/

    (here the language switcher is positioned to the far left, due to the extra element with telephone info)
    http://restaurangfoto.se/martentrotzig/en/julbord/

    Thanx

    #363929

    Hi Paul!

    Thank you for using Enfold.

    Use this on functions.php to move the flags to the main menu:

    add_filter('avf_wpml_language_switcher_position', 'avf_change_wpml_language_switcher_position', $position);
    function avf_change_wpml_language_switcher_position($position) {
    	$position = 'sub_menu'; // sub_menu
    	return $position;
    }
    

    Best regards,
    Ismael

    #368100

    Thanx!

    Worked like a charm!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘WPML language switcher position’ is closed to new replies.