[resolved] google fonts (7 posts)

  1. ynz
    Posted 2 years ago #


    all the time I used a google font with Decode. With the latest Update it doesn't work anymore. Any ideas, what could be the problem?

    I put this to the header.php:

    <link href='http://fonts.googleapis.com/css?family=Muli:300' rel='stylesheet' type='text/css'>

    And that is a part of my style.css:

    textarea {
    	color: #444444;
    	font: 300 110%/1.5 Muli, "Oxygen", "Helvetica Neue", "Arial", sans-serif;

    Choosing a 'local' font also doesn't work. Oxygen is the only font, Decode is using.

  2. Scott Smith
    Posted 2 years ago #

    Are you using a child theme?

  3. Scott Smith
    Posted 2 years ago #

    Also, you shouldn't need to add something to header.php, actually, please don't. Use a function to enqueue a stylesheet. Send me a link if you need to.

  4. Armoros
    Posted 2 years ago #

    Hi i have a slight issue with the fonts too, i have my site in 2 languages, is it better to use Google fonts or @font-face?
    If i use Google Fonts what and where i must put the code? I use the code that google provides but no luck, i want to use droid sans, but nothing change.

    Thank you for any help and congratulations for your theme.

  5. ynz
    Posted 2 years ago #


    sorry for the late answer, but i've been on holiday.

    I'm not using a child theme.

    The only changes i've add to decode, are the google font and the adn-authentification, which I added to the header.php. Since the update to Decode 2.8.3 it doesn't work anymore. Where should i add the code now?

    So far i've downgraded to 2.8.2!

  6. Scott Smith
    Posted 2 years ago #

    2.8.4 is out now and has fixed child themes. But you can still add the HTML code to header.php or the PHP code to functions.php. I'm not exactly sure what issue you are experiencing though.

  7. Scott Smith
    Posted 2 years ago #

    Maybe try putting "Multi" in quotes. The Google Fonts page should show you how this works.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.