Title: Change default font.
Last modified: August 31, 2016

---

# Change default font.

 *  Resolved [doozee](https://wordpress.org/support/users/doozee/)
 * (@doozee)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/change-default-font-4/)
 * Hi,
    I’m using to plugin to translate my website to Urdu language and it works
   absolutely perfect, so much better than WPML. However, I would like to change
   the default font for Urdu language only. I added the following function to my
   theme’s functions.php:
 * function load_urdu_style()
    { if ( ‘ur’ == WPGlobus::Config()->language ) { wp_register_style(‘
   urdu-style’, get_template_directory_uri() . ‘/css/urdu.css’, array(), ‘20120208’,‘
   all’ ); wp_enqueue_style( ‘urdu-style’ ); } } add_action( ‘wp_enqueue_scripts’,‘
   load_urdu_style’ );
 * My css file looks like this:
 * @font-face {
    font-family: urdu; src: url(Jameel.ttf); }
 * body, p, a, h1, h2, h3, h4, h5, li, ol {
    font-family:urdu; font-size:16px; }
 * I added Jameel.ttf in the same directory as the CSS file.
 * This does not seem to work.
 * [https://wordpress.org/plugins/wpglobus/](https://wordpress.org/plugins/wpglobus/)

 The topic ‘Change default font.’ is closed to new replies.

 * ![](https://ps.w.org/wpglobus/assets/icon-256x256.png?rev=1069705)
 * [WPGlobus](https://wordpress.org/plugins/wpglobus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpglobus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpglobus/)
 * [Active Topics](https://wordpress.org/support/plugin/wpglobus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpglobus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpglobus/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [doozee](https://wordpress.org/support/users/doozee/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/change-default-font-4/)
 * Status: resolved