Hi, I sometimes add Google fonts to the Enfold theme by pasting them into the Google Analytics Tracking Code area in the them options (see screenshot: https://postimg.org/image/687zvvc8d/). I was wondering – if I want to inlcude the actual Google Analytics code AND some custom fonts, can I just paste both of them in the box?
Just checking in, haven’t heard back yet. Thanks!
Hi,
We apologize for the late response. It’s not possible if you used the way you put it in the screenshot, google analytics wont work by doing that, but it should work if you replace the analytics id with the whole js code of google analytics, but I recommend just putting the analytics code there and as for your custom fonts you may want to put it in functions.php by adding this code at the bottom:
function add_custom_font(){
?>
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
<?php
}
add_action('wp_head', 'add_custom_font');
Just replace opens sans css with your custom font. Hope this helps.
Best regards,
Nikko
Thanks!
Hey!
Happy we could help.
Please remember to create a new ticket, if we can do anything else for you.
Thanks a lot
Best regards,
Basilis