Home Forums Bee WordPress Theme How to add google font

This topic contains 0 replies, has 1 voice, and was last updated by  BWSM 3 years, 9 months ago.

Viewing 1 post (of 1 total)
  • Author
  • #957


    If you want add a google font, like: Ubuntu

    1. Find the google font link: http://www.google.com/fonts#UsePlace:use/Collection:Ubuntu
    1) Choose style: http://d.pr/i/sqF9
    2) Find the url and font-family

    2. Open the functions/functions.php by a code editor.
    add the codes(font array) below line 1267:

    		'name' => 'Ubuntu',
    		'import' => '@import url(http://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700,300italic,400italic,500italic,700italic);',
    		'url' => 'http://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700,300italic,400italic,500italic,700italic',
    		'css' => "font-family:'Ubuntu', sans-serif;"

    Check the screenshot: http://d.pr/i/k1Fg

    3. Go to Bee theme option, the font would be shown in the font selecor.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.