Adding multiple values for font-family when a Google Font is picked

  • 16 March 2021
  • 0 replies
  • 5 views

Hi there, thanks a lot for making this tool. I have two questions:

Is there a way to use multiple fonts for an element in the editor? i.e, if I select a textbox and head over to font picker, I’m able to select a custom font. When I preview the page and inspect that element, I see:

font-family: Montserrat;

…which causes an unwanted flash of the default serif font before the font gets loaded. If I could add multiple font values from the picker, so it would result in something like:

font-family: Montserrat, Arial, sans-serif;

I think it would look a whole lot better while loading. But I don’t see any way to do this without writing custom code. Could you let me know if this is possible or not in the editor?

Another question is that Google Font href attributes don’t have &display=swap appended. Adding this could greatly improve the perceived loading experience for the end-user. Is there a way to enable this right now? If not, please look into adding this as that would be a huge improvement.

Thanks in advance!


0 replies

Be the first to reply!

Reply