How to Upload coustom font to employe center portal

maheshgandr
Tera Contributor

Hi All,

 

I have a requirement to change the empoye center font to 'Prokyon' , i have files and type is 'WOFF2/WOFF' 

i have tried adding CSS includes under the EC theme

 

There i have two options in the source filed

1. Style sheet

2. URL

How to get the URL for the files as shared in the image as style sheets it needs WOFF  URL

Please suggest the steps to configure the coustom fonts for empoyee center

1 REPLY 1

CN-L
Tera Contributor

Hi @maheshgandr,

 

The below is taken directly from the Service Portal Fundamentals (Xanadu) eBook:

Include a custom font

There are three different strategies:

  • Use Google Fonts. Add the URL as a CSS Include to your theme.
  • Encode your font using base64. Include it in the CSS Includes of your theme.
  • Upload your font files as attachments to the CSS Includes record.
    • Upload the files to the CSS Include record and reference them as "sys_attachment.do?sys_id=<SysIDOfAttachment>".

See the Using Custom Fonts In Service Portal blog post on the Community for further information on each of these 3 strategies.

 

It sounds like you're trying to achieve option 3 so hopefully the blog post will assist you.