Jump to content

add custom font


arash ranjbar

Recommended Posts

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; 
}

 

  • Like 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...