Custom code integrations are not supported through the normal support channels. The Tovuti Support team does not correct, implement, or modify any custom code, including any code referenced in the Help Center. For assistance with custom code, please contact your Account Manager or contact the Tovuti Client Success team at clientsuccess@tovutiteam.com.
There is a variety of default fonts available out of the box. Additional custom fonts, can be used by applying custom CSS to the Logged-in and Logged-out views. If there are Google fonts to be added, check that process out at this article Custom Font.
The first step is to have the font loaded on a server that you have. You will need to have SSL cert applied for that server with HTTPS secure protocol enabled.
Once the server is configured with a font that you want to add, you will paste the following code into user portal or landing page CSS tabs, with some minor changes needed based on the setup.
Here are those changes: replace /fonts/myfont.woff2 with your URL where the font is hosted on the first line of code, and change "MyFont" to what the font name is.
const font = new FontFace('MyFont', 'url(/fonts/myfont.woff2)');
font.load().then(function(loadedFont) {
document.fonts.add(loadedFont);
document.body.style.fontFamily = 'MyFont';
});
Apply a Custom Font to the Logged-In View
Different text throughout the logged-in view can be given a custom font, which is applied in the User Portals editor.
Go to Design > User Portals > select the portal to update > CSS styling tab > add it to Pre CSS styling:
Apply a Custom Font to the Logged-Out View
Custom fonts can be applied to different items within the logged-out view, which is applied in the Landing Pages editor.
Go to Design > Website Pages > select your landing page > CSS styling tab > add it to the Pre CSS styling: