Change default font
HSNM Front-end Welcome Portal general discussion about HTML, CSS, layout, custom apps, templates

Rate this topic
   Post Reply
4 posts   •   Page 1 of 1
Andrushka
Posts: 61
Joined: 12 Dec 2017, 15:07

Change default font

by Andrushka » 02 May 2024, 16:32

What is the easiest way to change the default font in a welcome portal?
There was a previous post on this subject but the link provided does not work any more.

HSNMSupport
Posts: 1539
Joined: 26 Jul 2016, 09:16

Re: Change default font

by HSNMSupport » 02 May 2024, 17:00

You need to create a custom CSS in your template.
S.T.

Andrushka
Posts: 61
Joined: 12 Dec 2017, 15:07

Re: Change default font

by Andrushka » 13 May 2024, 19:19

I can change css to refer to a different font - although it does appear that I have to do this in many places because the font is normally not cascaded down to lower elements on forms.

However my issue is I want to use a custom font family for a customer (not a font hosted on Google Fonts etc) and I do not see a way to load this on my server so that I can provide it as a local resouce.

If I try to load the font from a different server URL it doesn't work - probably because of cross origin resource domain restrictions in the browser.

HSNMSupport
Posts: 1539
Joined: 26 Jul 2016, 09:16

Re: Change default font

by HSNMSupport » 14 May 2024, 08:35

Maybe you have to define the allow in your origin.
We do not force this.
S.T.

Rate this topic

Who is online

Users browsing this forum: No registered users and 8 guests

It is currently 18 May 2024, 01:33