Community

Adding External Font-Family to the Drupal Site, Call through Style.css

Step1: Search a particular font-family.

ex : google fonts

Step2: Once you find the font-family, click on “add collection”.

Step3: Go to particular collection and click on “use” button.

Step4: Copy the code.

Eg: link href='http://fonts.googleapis.com/css?family=Belleza' rel='stylesheet' type='text/css'

Note : ( along with the open and close angle brackets )

Step5: Cal font-family in CSS as mentioned in google.

Eg: font-family: 'Belleza', sans-serif;

IN DRUPAL 6

Cal the font-family code in header region in page.tpl.

link href='http://fonts.googleapis.com/css?family=Belleza' rel='stylesheet' type='text/css'

Note : ( along with the open and close angle brackets )

IN DRUPAL 7

Cal the font-family code in header region in html.tpl

<?php
print $head;
?>

..
..

nobody click here