Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #804264

    neuralmotion
    Participant

    Hi,

    Great theme! I’m trying to add another Google font to my website

    I have added @import url(http://fonts.googleapis.com/css?family=Russo+One); to the customizer > custom > css
    I then added <span style="font-family: 'Oswald'">Awesome</span> but the font is still the default body font selected under typography.

    Is there something else I need to do?

    Cheers
    Simon

    #804959

    Rue Nel
    Moderator

    Hello Simon,

    Thanks for writing in! Since you have imported a Google font “Russo One”, you have to use this code instead: <span style="font-family: 'Russo One'">Awesome</span>. Oswald will only work if you have loaded this font on the page.

    Hope this helps.

    #805159

    neuralmotion
    Participant

    Sorry that was a typo. I was using Russo One in my style.

    The only way I could get it to work was to modify the templates.php file.

    #805818

    Rad
    Moderator

    Hi there,

    What templates.php? Would you mind providing some details of what you did? Maybe we can figure out why it’s not working.

    Thanks!

    #806083

    neuralmotion
    Participant

    Sorry, i’m having a shocker.

    I created a child theme and edited the functions.php file to add the font.

    Still not sure why the import didn’t work.

    #806269

    Rue Nel
    Moderator

    Hello There,

    To assist you better with this issue, would you mind providing us the url of your site with login credentials so we can take a closer look? This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    To do this, you can make a post with the following info:
    – Link to your site

    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thank you.