arash ranjbar 3 Posted August 31, 2020 Share Posted August 31, 2020 hi everybody in previous versions when I add my custom font everything worked fine, but in new version (4.5 or 4.5.1) when I want to add my custom font it appears only on forum, and Admin don't change. why is the reason? my CSS codes: @font-face { font-family: IRANSansWeb; src: url('{resource="IRANSansWeb.woff" app="core" location="global"}') format('woff'); font-style: normal; font-weight: normal; } body, h1, h2, h3, h4, h5, p, g, input, a, .ipsType_pageTitle, .ipsType_sectionTitle, .ipsType_secondaryTitle, .ipsType_sectionHead, .ipsType_minorHeading, .ipsApp label:not(.ipsField_unlimited), .ipsApp input, .ipsApp button, .ipsApp select, .ipsApp textarea, .ipsWidget.ipsWidget_vertical .ipsWidget_title, .ipsWidget.ipsWidget_horizontal .ipsWidget_title { font-family: IRANSansWeb !important; } 1 Link to comment Share on other sites More sharing options...
arash ranjbar 3 Posted September 1, 2020 Author Share Posted September 1, 2020 please help me! Link to comment Share on other sites More sharing options...
The Grim Reaper 142 Posted September 1, 2020 Share Posted September 1, 2020 Move the code first on your css and try like that or use a weblink in your global template as path for your font. I use only weblinks for fonts, nothing on web host. Link to comment Share on other sites More sharing options...
Recommended Posts