- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2024 12:20 PM - edited 02-01-2024 12:22 PM
Hey, guys!
We can add more fonts to customize our theme builder experience? If yes, how can i make this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2024 08:18 PM
Hi @Palloma
You may want to have a look to this post below.
UI Builder: Change Font Family
Purpose: How to change the font family of text in a Portal Experience in ServiceNow UI Builder. This procedure will allow the use of custom fonts in UI Builder Portal Experiences.
- Open Experience’s UI Theme record
- In UX Theme Asset related list, click “New”
- Complete the UX Theme Asset form as follows:
- Asset: Create a new UX Theme Asset record as follows:
- Category: Font
- Name: any text
- Attachments: Attach the font file (.ttf, .eof, .woff, etc) to the UX Theme Asset record
- Note: Only a single .ttf file extension has been tested so far
- Asset Properties: leave blank
- Asset: Create a new UX Theme Asset record as follows:
- Click “Submit”
- In the UX Theme record’s Theme field, change the JSON to add a font-family based CSS Custom Property whose value matches the UX Theme Asset record’s Name field such as:
{ "--now-font-family": "Julius Sans One" }
- Click “Update”
- Test the page to see the font changed
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2024 08:18 PM
Hi @Palloma
You may want to have a look to this post below.
UI Builder: Change Font Family
Purpose: How to change the font family of text in a Portal Experience in ServiceNow UI Builder. This procedure will allow the use of custom fonts in UI Builder Portal Experiences.
- Open Experience’s UI Theme record
- In UX Theme Asset related list, click “New”
- Complete the UX Theme Asset form as follows:
- Asset: Create a new UX Theme Asset record as follows:
- Category: Font
- Name: any text
- Attachments: Attach the font file (.ttf, .eof, .woff, etc) to the UX Theme Asset record
- Note: Only a single .ttf file extension has been tested so far
- Asset Properties: leave blank
- Asset: Create a new UX Theme Asset record as follows:
- Click “Submit”
- In the UX Theme record’s Theme field, change the JSON to add a font-family based CSS Custom Property whose value matches the UX Theme Asset record’s Name field such as:
{ "--now-font-family": "Julius Sans One" }
- Click “Update”
- Test the page to see the font changed
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2024 05:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2024 09:20 AM
Hi, How can we add new font type in HTML editor in Workspace?