To incorporate Google Fonts into your Widgets and Digital Screens follow the below instructions.
NOTE: You may need to Enable the Web Fonts option within the Appearance tab of your widget.
Go to the Google Fonts page and select the Font style(s) you wish to use. Once selected click on the + Select this style button to choose the desired font weights.
Once the font weights/styles have been selected, grab the CSS codes from the Embed>@Import drawer.
Within your widget's Custom Code Editor tab, paste both of the Google Font CSS codes into the CSS editors for either Inline Tiles and/or Expanded Tiles (the <style></style> tags should not be included here). NOTE: You will need to decide which elements you wish to apply the font CSS code to (example provided below).
Example CSS code:
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap');.tile-caption { font-family: 'Roboto', sans-serif !important;}
Prefer to utilize your font files within a display?
No problem! You can use your own font's direct URL within the UGC code editors, or upload the font files to the Assets manager within your stack! The UGC Asset Manager supports most font file types (read more here).
Example CSS code:
@font-face { font-family: myFirstFont; src: url(direct_url_of_myFirstFont.woff);}.tile-caption { font-family: 'myFirstFont', sans-serif !important;}
For any further questions or queries, please send an email to support@nosto.com and our support team will get back to you.