Adding Google Fonts to Drupal 7 theme using hook_preprocess_html

First of all, lets go to and find our font.


Press the arrow button (Quick- use)

Scroll down and copy the link inside the '@import' tab


Now in the template.php file in your theme folder that is currently being used, paste the code below:


function MYTHEME_preprocess_html(&$variables) {
  drupal_add_css('http: //', array('type' => 'external'));

  and remember to replace MYTHEME with your own theme name.