Support » Theme: Tiny Framework » Change Fonts (in Menu or Content)

  • Resolved wpjap


    Hi. How do I change the font in menus or in content?
    Maybe someone knows which fonts are being used as standards in Tiny framework?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Tomas Mackevicius


    Please open functions.php in the code editor and search for:

    Tip31 – Support for aditional Google Fonts. Load Google Fonts stylesheet.

    By default TF uses Open Sans from Google fonts.

    To test this I followed Tip31 in functions.php:
    a) pasted line 468 into a page/post (text for testing)
    b) uncommented lines 486-488 (define the font for loading)
    That worked.
    Trying to do that in my child theme did not work:
    a) placed lines 486-488 from the original functions.php to my child functions.php, right behind the first functions block (see here for my child functions.php)

    I presume it has something to do with “enqueuing” the fonts …?!
    If I get this fixed, the next question will probably be: how can I de-queue the theme-standard Open Sans font, also by way of the child theme.

    Maybe someone has an idea for both questions?

    Theme Author Tomas Mackevicius


    For child theme, look into functions.php of the child theme example, there you will find info on both how to activate Tip31 and deactivate Tip13.

    Thanks so far.
    I have now used this folder as template for my child theme:
    Then tested font addition:
    Tip13 Remove Open Sans (and other Google Fonts) as default font.
    That seems to be working, although the page still looks the same. Probably because font Verdana looks like Google’s Open Sans, right? Verdana is being used says the Firefox inspector.
    Then enabled a different Google font (Tip 31) :

    if ( !is_admin() ) { // If we do not want this to load in the admin dashboard
    wp_register_style( 'tinyframeworkchild-fonts', ',400i,700,700i', '', '', 'screen' ); 

    Unfortunately: Verdana is still being used (says Firefox inspector, and my eyes)

    Hmmm? What am I missing?
    Thanks for helping!

    Theme Author Tomas Mackevicius


    Well, of course, you just included the font, now you have to go to style.css and change Open Sans to Lora as main font.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change Fonts (in Menu or Content)’ is closed to new replies.