Home / Forums / You Theme Support / How to make Language switcher be like the WordPress default

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts

  • eng_aymanaly
    Participant

    I have this style: http://you.acoda.com/photography-wordpress-theme/

    And the website is in two languages. The language switcher now is a flag which when clicked shows a panel to select either of them. Now I want to have the language switcher to be permanently displayed in the main menu.

    Hi @eng_aymanaly

    Can you send over your site’s URL and login credentials so we can check on this?


    eng_aymanaly
    Participant
    This reply has been marked as private.

    Thanks for sending that over.

    All you need to do is go to this page, http://l-dev.website/karim-kamel/wp-admin/admin.php?page=sitepress-multilingual-cms%2Fmenu%2Flanguages.php the look for ‘Language switcher in the WP Menu’ then check the checkbox and select demo-01 from the dropdown.

    This will add the 2 languages beside the menu. You will need to decrease the font-size of the menu items for all of them to fit on one line or try removing the language switcher widget and check if they fit

    Regards,


    eng_aymanaly
    Participant

    Done it worked.

    I have now another issue and that is in the Arabic pages, the language switcher is on the right hand side when it should be on the left hand side of the menu items.

    Check this image: http://puu.sh/pzh7O/95066c90e1.jpg

    Just to confirm, do you really want the language switcher place on the left of the menu when on Arabic and English on the right?

    Regards,


    eng_aymanaly
    Participant

    Yes, I want to have them on the far left in the “AR” language. And the English remains the same.

    Hi,

    It will be best that you coordinate this issue with WPML. We have tried a number of CSS fixes but the alignment remains for the flags. You can leave it as such or let WPML’s support identify what is the best CSS fix for it.

    Thanks!

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.