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.
- Install and activate this mini-plugin.
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' );