Archived topic
Somewhat niche font issue
4 replies · Started by Mike on January 29, 2022
Trying to use "M PLUS Rounded 1c" - google font.
It doesn't work. Placing quotes round the name fixes it - but then the 'google font' toggle switches off and none of the font weights work.
Something about having so many spaces in the name maybe... not sure. Wondered if you had a suggestion.
I can do it manually via function if I have to - but I'd prefer to use the 'customizer' typography if I can.
Thanks
Hi there,
its a known bug - see Tom's reply here:
Sorry - you know when you submit a ticket and then immediately find the answer! The problem is that the name has "1c" on the end - but no quotes are placed around it... so the browser sees "M plus rounded" "1c" - thinks they are separate declarations and throws an invalid property error.
Maybe you can tweak so the font name gets quotes - as there are a few odd names on google fonts.
Meanwhile I've added CSS to override, with font-family set "M plus rounded 1c".
Ok, we cross-posted... thanks for looking :)
You're welcome!