Multiple custom fonts not detected because the whole string is wrapped in quotes #1978
-
When adding multiple custom fonts in your custom font This seems to happen because the generated CSS is wrapping the complete given font string in quotes. For example the following:
Will wrap the whole string in quotes in the CSS: h1, h2, h3, h4, h5, h6 {
font-family: "Nunito,Ubuntu,Roboto,sans-serif", sans-serif;
} When it should be: h1, h2, h3, h4, h5, h6 {
font-family: "Nunito","Ubuntu","Roboto","sans-serif";
} This used to work in 4.7.0, and I think I first noticed when I tried to upgrade to 4.8. Wowchemy version: 5.0.0 beta |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Specifying multiple fallback fonts in a font pack may have previously worked, however it's not an intended feature. Custom fallback fonts can be added via Custom CSS: https://wowchemy.com/docs/customization/ |
Beta Was this translation helpful? Give feedback.
-
Thanks for getting back so soon. Is there a reason why it’s not intended? Although, configuring the Google Fonts, and just setting one custom font, I don’t think this is actually a big issue. But it took me quite a while to recognize why the site wasn’t working as I intended after the update. |
Beta Was this translation helpful? Give feedback.
Specifying multiple fallback fonts in a font pack may have previously worked, however it's not an intended feature.
Custom fallback fonts can be added via Custom CSS: https://wowchemy.com/docs/customization/