• Resolved ynz

    (@yenz77)


    Hi,

    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:

    body,
    button,
    select,
    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Are you using a child theme?

    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.

    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.

    Thread Starter ynz

    (@yenz77)

    Hi,

    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!

    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.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘google fonts’ is closed to new replies.