Change Languages Header Element Icon Size

The Languages header element lets visitors switch the site’s language, as long as a compatible multilingual plugin is installed. Each language is shown as a flag, and the snippet below changes the size of those flags.

Add the snippet to your child theme’s functions.php file, or use a code snippets plugin such as Code Snippets or WPCode. Change the width and height values (in pixels) to the size you want.

PHP
add_filter('blocksy:language-switcher:flag:attr', function ($attr) {
	$attr['width'] = 22;
	$attr['height'] = 22;

	return $attr;
});
Not the solution you are looking for?

Please check other articles or open a support ticket.