Skip to main content
Gainsight Inc.

Set Up Google Fonts

This article explains how admins can configure and use Google Fonts in engagements using the HTML code. 

Overview

You can use Custom fonts to customize your engagement texts to give them the same look and feel as your application. You need to import custom font CSS rules to specify font families from various websites. 

Note: Custom fonts is not available for Survey Engagements.

Example Business Use Case: You can import Google Fonts into your engagement to enhance it’s look and style. 

Import Google Fonts

You must have basic knowledge of HTML and CSS to import and apply custom fonts.

To import a Google custom font in your engagement: 

  1. Navigate to fonts.google.com
  2. In the Fonts tab, select a font style. 
  3. Click Select this style.
  4. Click on the View selected families icon. The Selected Families drawer is displayed. 
  5. From the Selected Family drawer, copy the link to embed the font into the <head> of your HTML. 
  6. Click on the Code View icon in the Editor tab of your Engagement Editor.  
  7. Embed the code into the <head> of your HTML. 
  8. Click Save.

Apply Imported Custom Fonts

To apply the imported custom fonts in the Old Editor: 

  1. From the Selected Family drawer, copy the value of the font family key value pair.

  2. In the CSS tab of the Editor, embed the font family for Dialog Wrapper, Dialog Title, Dialog Content and Dialog Main List.

Notes: 

  • You can embed different family fonts for different CSS content sections. 
  • Dialog Wrapper font is set as the default font if the font family is not defined for Dialog Title, Dialog Content and Dialog Main List.
  • Arial font is set as the default font if the font family is not defined for Dialog Wrapper.
  • Use the CSS keyword !important; to prioritize your custom CSS commands.

To apply the imported custom fonts in the New Editor: 

  1. From the Selected Family drawer, copy the value of the font family key value pair. In the CSS tab of the Editor, embed the font family for Dialog Wrapper, Dialog Title, Dialog Content and Dialog Main List.

  2. In the HTML tab of the editor, change the font type.

Change Font in Editor V2.jpg

 

  • Was this article helpful?