Revert language switcher to old styling

If the new styling of the floating or shortcode language switcher introduced in TranslatePress – Multilingual 2.5.4 version is not working well due to conflicts with theme styling or you just want the previous style for your website use one of the 2 options below.

OR

  • Alternatively, place the following code in the theme functions.php.// Use old styling for floating language switcher
    add_filter('trp_old_css_styling_for_floater_ls', '__return_true' );
    // Use old styling for shortcode language switcher
    add_filter('trp_old_css_styling_for_shortcode_ls', '__return_true' );

Looking to go multilingual?

Get full access to TranslatePress and join 200.000+ website owners that grow their multilingual traffic.

Unlock PREMIUM Features

Or download FREE version