- June 27, 2020 at 11:35 pm #377260aliGuest
If I upload a font with double word, it became dashed. ex: Fira Sans became fira-sans. How to remove the dash from font class?June 28, 2020 at 2:56 pm #377313
Class can’t have space. So to use the font name as class we need to remove the space and replace it with Dash. Shouldn’t be any problem to assign the font.
If you want to assign the font via font family, you can assign like this font-family : fira-sans and if you want to add as class you can keep class name as fira-sans .
Hope this helps.
ThanksJune 28, 2020 at 3:54 pm #377319aliGuest
this difference became a problem when drop down option fonts from theme that I use, using space instead of dash. the fonts name with more than 1 word can not be used. these fonts when used becomes default fonts (verdana, etc) or pulling from google fonts instead of local (useanyfonts). is there any workaround? so the font name is with a space not dash?June 28, 2020 at 4:30 pm #377320
In that case can you just keep the font name without space and try if this helps.
If this doesn’t work, please do send me the snapshot of your font drop down selection. So far i know it shouldn’t be issue with the drop down.
ThanksJune 29, 2020 at 2:02 pm #377424aliGuest
if I choose Marck Script or Markazi Text for example, it does not connect with marck-script or markazi-text from local useanyfonts font.. there is no problem with one word fonts (ex: roboto, etc).June 29, 2020 at 2:51 pm #377428
Looks quote weird to me. If you don’t mind can you send me your wp-admin details using our facebook chat widget ? I will check and suggest solution for it.