-
AuthorPosts
-
February 20, 2016 at 1:31 am #804264
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
SimonFebruary 20, 2016 at 8:41 pm #804959Hello 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.
February 21, 2016 at 3:01 am #805159Sorry 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.
February 21, 2016 at 5:24 pm #805818Hi 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!
February 21, 2016 at 9:49 pm #806083Sorry, 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.
February 22, 2016 at 12:30 am #806269Hello 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 / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thank you.
-
AuthorPosts