Incorrect handling of variable font weight in Site Settings > Global Fonts
-
Hi,
It seems to me that Elementor “Site Settings > Global Fonts” do not work correctly with the weight settings of variable fonts.
When I set a variable font for any of the system or user fonts in the “Family” field and enter a numerical weight value, for example, “450”, this value does not work when assigning this global font style to a font in the widget (screenshot from the developer panel: https://c2n.me/4mqzGNF.png )
At the same time, if you enter the value manually in the “Typography” window, the entered weight is assigned correctly.
P.S. The only solution at the moment is to add manually the following lines to the Custom CSS field of the site settings:
:root {
--e-global-typography-primary-font-weight: 650;
--e-global-typography-secondary-font-weight: 550;
--e-global-typography-text-font-weight: 450;
...etc
}
The topic ‘Incorrect handling of variable font weight in Site Settings > Global Fonts’ is closed to new replies.