I am after some help with styles for New-UDCardBody, I can code in PowerShell but CSS is a dark art and I am struggling with styles. I am trying to use a local font called Digital-7 and within the styles option I am using the @font-face group as stated for CSS but when I use it within the dashboard the code is ignored and the default font is used, Any idea of an example of how I would use my local stored font within the New-UDCard, thanks for any help in advance
I was looking to do exactly the same thing here.
Wanted to create a dashboard by following our corporate identity and therefore our custom font.
Unfortunately didn’t find anything related to how to achieve this except this unanswered thread.
So I played a little bit with it by documenting myself online. I found this webpage that describes the various possibilities:
Then, searching for “CSS” in the forum, I understood that the way to modify the PSU CSS “on the fly” is by using New-UDHelmet.
So here’s is a working example of how you could modify the UDCard Header Title to reflect your custom font.
…just in case somebody will also sumble over this thread…