Font style “regular” is not valid – use “normal” instead
-
I realized that the generated CSS by Letter Avatars on my website is not valid because it uses
regular
for font-style instead ofnormal
.Whereever you use
regular
replace this withnormal
, otherwise the CSS is not valid.Also see:
https://www.w3.org/TR/css-fonts-3/#font-style-prop
https://developer.mozilla.org/de/docs/Web/CSS/font-style
In my case I replaced
regular
withnormal
inwp-content/plugins/letter-avatars/lib/frontend/Utils.php
to fix the CSS issue, but there may be other instances as well where this is relevant.
- The topic ‘Font style “regular” is not valid – use “normal” instead’ is closed to new replies.