# Polylang Language switch flag size not changing

**URL:** <https://forum.bricksbuilder.io/t/polylang-language-switch-flag-size-not-changing/40781>\
**Category:** Bugs\
**Tags:** v2-4-5\
**Created:** [November 10, 2026, 11:51pm UTC](https://forum.bricksbuilder.io/t/polylang-language-switch-flag-size-not-changing/40781 "2026-11-10T23:51:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LouisC](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/louisc/32/33307_2.png) [@LouisC](https://forum.bricksbuilder.io/u/LouisC)\
**Post date:** [November 10, 2026, 11:51pm UTC](https://forum.bricksbuilder.io/t/polylang-language-switch-flag-size-not-changing/40781/1 "2026-11-10T23:51:53Z")

</div>

**Browser** : Chromium Version 157.0.8103.38 and Firefox 159.0.1  
**OS** : Linux

Hi,

When using the Polyland language switch widget in Bricks, there’s a setting to set the flag size, but whatever the value I enter in that field, the flag remain the same size.

 ![image](https://forum.bricksbuilder.io/uploads/default/original/3X/3/7/378cd32e0896e0ff20acf11b442fcc2b77d48973.png)

I’m guessing Polylang may have changed the name of their flag dimension variable, because when inspecting the flag in the front-end I see that the --pll-flag-width variable is not set.

If I set a value for --pll-flag-width in my custom css the flags get the expected width (the variable is used by a span element with the .pll-switcher-flag class on it).

---

<div class="post-metadata">

**Author:** ![matthewmiller](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/m/ac8455/32.png) [@matthewmiller](https://forum.bricksbuilder.io/u/matthewmiller)\
**Post date:** [November 11, 2026, 1:33am UTC](https://forum.bricksbuilder.io/t/polylang-language-switch-flag-size-not-changing/40781/3 "2026-11-11T01:33:00Z")

</div>

The --pll-flag-width variable not being set lines up with what you found in the inspector, so Bricks is likely writing to a variable name Polylang no longer uses for the widget span. Since setting the variable manually works, a scoped override with :root or the switcher container would restore the expected width without touching the plugin. Worth checking whether the theme version and Polylang are both current, as a mismatch can leave the control pointing at an old name. If it persists, reporting the variable name difference to the theme support would help them patch it.
