How to Install Custom URDU Font?

Posted in: Newspaper
Post count: 28

Hi, I want to install the URDU Font. I converted the font and I do have CSS file. Below is the code I have but I don’t how to add this so that I can make some URDU Post in my website.

/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on January 25, 2019 */

@font-face {
font-family: ‘urdu_naskh_asiatyperegular’;
src: url(‘asunaskh_1-webfont.woff2’) format(‘woff2’),
url(‘asunaskh_1-webfont.woff’) format(‘woff’);
font-weight: normal;
font-style: normal;

}

Please, can you guide me? Thanks.

Post count: 35449

Hi,

You need to set that code in Newspaper>Theme panel>Custom code>Custom css and add the classes were you want to apply this.
Here is an example -> https://www.screencast.com/t/2c7uQ59TvZx6 -> https://www.screencast.com/t/nzah3hMGWPgt
-> https://www.w3schools.com/csSref/css3_pr_font-face_rule.asp
Also please check our documentation for Font customization
-> https://forum.tagdiv.com/font-customization/

Thank you!

Post count: 28
Post count: 35449

Hi,

Please remove them all and lets try again:
First please make sure that you have the font in ‘.woff’ extension , upload that font in media library -> http://prntscr.com/meluvb -> set the font in theme panel -> http://prntscr.com/melupu save and now try again -> http://prntscr.com/melvlv -> http://prntscr.com/melvvr

Hope this will help you better!
Thanks.

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.