Title: Customize language switcher
Last modified: April 17, 2018

---

# Customize language switcher

 *  Resolved [swissspaceboy](https://wordpress.org/support/users/swissspaceboy/)
 * (@swissspaceboy)
 * [8 years ago](https://wordpress.org/support/topic/customize-language-switcher-2/)
 * Hello,
 * I want to add the separator | between my 3 languages in the lang switcher widget.
   How to do this ?
 * Thanks,
 * Didier.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [swissspaceboy](https://wordpress.org/support/users/swissspaceboy/)
 * (@swissspaceboy)
 * [8 years ago](https://wordpress.org/support/topic/customize-language-switcher-2/#post-10201564)
 * Found it. You need to modify the CSS for menu-langswitcher to add separators 
   etc.
 * Ticket closed by myself.
 *  [sv1cec](https://wordpress.org/support/users/sv1cec/)
 * (@sv1cec)
 * [8 years ago](https://wordpress.org/support/topic/customize-language-switcher-2/#post-10202376)
 * Can you please tell me which file you edited? I need to reduce the space between
   the flags, but I am not sure where to do it. Many thanks!
 *  Thread Starter [swissspaceboy](https://wordpress.org/support/users/swissspaceboy/)
 * (@swissspaceboy)
 * [8 years ago](https://wordpress.org/support/topic/customize-language-switcher-2/#post-10203770)
 * I did it in the additional CSS in your theme customizer (or in your style.css).
   I used this to add a separator and add some extra spaces:
 * .lang-item {
    margin-right: 5px; float: left; list-style: none; }
 * #menu-langswitch li { float: left; }
    #menu-langswitch li:before { content: “
   |”; padding: 0 .5em; } #menu-langswitch li:first-child:before { content: “”; 
   padding: 0; }

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Customize language switcher’ is closed to new replies.

 * ![](https://ps.w.org/polylang/assets/icon-256x256.png?rev=3433336)
 * [Polylang](https://wordpress.org/plugins/polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/polylang/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [swissspaceboy](https://wordpress.org/support/users/swissspaceboy/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/customize-language-switcher-2/#post-10203770)
 * Status: resolved