css - importing custom font in Wordpress theme in function.php -
i want use custom font (@fontface) in custom wordpress. have brought in google fonts in functions.php so
wp_enqueue_style( 'lato', '//fonts.googleapis.com/css?family=lato:300,400,700,900', array() );
but want use font fonts folder (theme-name/fonts/...) not sure how this, use @fontface... not sure how works wordpresss
edit want bring in in functions.php file
import using css so:
<link type="text/css" rel="stylesheet" href="http://fonts.googleapis.com/css?family=lato:300,400,700,900'" />
then accessible use:
font-family: 'lato', sans-serif;
Comments
Post a Comment