Changing the default Portal font
Hi,
I've had a request from a customer if it's possible to change the generic font of the portal to Calibri. I know you can change using the custom.css file but they want to change the font throughout the portal, not just individual elements. If it's not possible, then fair enough.
Regards
Steve
Best Answer
-
Clayton_Farr Member IT Monkey ✭Hi Steve,
Right now there isn't documentation of all the selectors you'll need to target to make a global font-family change for v5.2. Currently this requires setting global rules (e.g. on the <body> element, form elements, etc.) and then hunting down specific outliers that need to be overridden as well. Doable, but not ideal.
In v6 we've cleaned all of this up to provide a small handful of levers to make these type of changes. We're putting together the documentation for this now so it'll be ready when v6 release ships, which is likely within the next 4-5 weeks.5
Answers
You bet. You can override the font used across the Portal within the custom.css file, however currently it requires a bit more work than it should (a lot of CSS selectors to override current styles). Our next update, to be released in a handful of weeks, will make this much easier. It will allow you to target a small handful of CSS selectors to more easily make global updates like this.
Best,
Clayton
Thanks Clayton,
Have you got any documentation as to which CSS selectors need modifying to accomplish this?
Regards
Steve
Right now there isn't documentation of all the selectors you'll need to target to make a global font-family change for v5.2. Currently this requires setting global rules (e.g. on the <body> element, form elements, etc.) and then hunting down specific outliers that need to be overridden as well. Doable, but not ideal.
In v6 we've cleaned all of this up to provide a small handful of levers to make these type of changes. We're putting together the documentation for this now so it'll be ready when v6 release ships, which is likely within the next 4-5 weeks.