Posts

Showing posts from August, 2023

Using external Fonts in Power Pages

Image
Power platform has some specific font-family to customize your website... but as developers, we always try to figure out how far we can get to apply customizations. In this post, I will show you how to use an external font family in Power Pages to match the site with your client's brand. First, you will need a font-family file; I'll use one from Google Fonts ( Sedgwick Ave Display - Google Fonts ). Create a Web file record to attach the “*.ttf” file on the notes. I suggest leaving the Home Page as Parent if you use this font across all the pages.     To apply this font for H1 labels, download the existing CSS called "portalbasictheme.css" and edit this, replacing it with the new font-family properties.       Update the portalbasictheme.css by attaching this to web file record.     Finally, sync the portal configuration to apply these changes; note that this action synchronizes the changes done on the portal management app.       Then click on Preview> Desktop to vi