Is there a way to set a download custom google fonts for PHPMaker website?
so there’s more available option rather than using web safe fonts?
Like I want to use these fonts : Biryani fonts in google fonts
Google “Get Started with the Google Fonts API”. Add your to the font and tags by Page_Head server event, see the topic Server Events and Client Scripts > Server Events > Page_Head in help file.
Thanks, Its worked.
Can You Please Elaborate Cause I am New In This,
i also have an issue that phpmaker after generating script uses its font which is taking a lot time to load website
so i was looking for a way i can use google fonts instead
i try use
<link href="https://fonts.googleapis.com/css2?family=K2D" rel="stylesheet">
<style>
body {
font-family: 'K2D', sans-serif !important;
}
</style>
in Server Events and Client Scripts > Server Events > Page_Head, but not work.
If you have enabled Use content security policy (CSP), you cannot use <style> and <link> tags without nonce, you may use the global function Nonce().