Safari ignores font-sizes of twentytwentytwo?
-
Hi!
We have a very strange problem. Safari fonts are all 25% enlarged!
The font sizes for normal paragraphs are set to “medium” which is by theme.json in the child theme set to 1rem (should be 16px, right?).
So this works in all browsers but Safari (and other webkit browsers it seems…).
The font-size as calculated in Safari is 20 px.
Inspecting the code gives me an override by means of:
var(–wp–preset–font-size–medium) !important.has-medium-font-size
But “medium” is globally set to 1rem (I also tried explicitly “16px”!) – this should be working as it does in all other browsers.
In the original theme.json which comes with twentytwentytwo the “medium” font-size is set to 1.125rem which should be 18px.
That’s why I suspect that the font-sizes defined in them.json get completely ignored by webkit browsers… ?!
BTW: the same 25% larger fonts globally to all fonts (p, h1, h2, …).
Any ideas?
Cheers, jhhh
The page I need help with: [log in to see the link]
- The topic ‘Safari ignores font-sizes of twentytwentytwo?’ is closed to new replies.