Support for Czech version of WordPress

Elementor expect using decimal point 0.5 for every measurement unit, typically for em expressions. But in Czech locale we are using decimal comma 0,5. What is pity, Elementor is not able to produce correct CSS because this decimal comma is printed to CSS files. But in CSS files only original US locale can be use (decimal point).

I am always applying this patch for making Elementor working in Czech environment. Nothing special, can be solved better through some locale functions, but works. It is really disturbing apply this patch to every site during every update of Elementor.

Solution:

Add this line of code into anno child themes function.php

setlocale(LC_NUMERIC, 'en_US.UTF-8');

after that edit page again with elementor, and save again. Hope it will start working

Was this article helpful?

Related Articles

Leave A Comment?