-
AuthorPosts
-
February 13, 2015 at 9:49 am #205918
Hi,
I am trying to change my font to futura from my adobe typekit. I added this to the functions.php in my child theme…
add_action('wp_head','custom_typekit_head'); function custom_typekit_head() { ?> <script src="//use.typekit.net/nwm5yvv.js"></script> <script>try{Typekit.load();}catch(e){}</script> <?php } ?>
And I added this in my styles.css
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3 { font-family: "Futura PT", sans-serif !important; } p { font-family: "Futura PT", sans-serif !important; }
Could you please help me figure out why it is not working? Thanks in advance!
February 13, 2015 at 9:51 am #205919This reply has been marked as private.February 14, 2015 at 3:06 am #206431Hi There,
Thanks for writing in!
I’m sorry to hear that you’re having this issue.It seems like the font link you’re adding is wrong.
You’re adding the font from the below URL and it shows anot found
error.http://use.typekit.net/nwm5yvv.js
Please check the font URL again and add the correct one and it may fix your issue.
Hope it helps, thanks!
February 16, 2015 at 8:15 am #207627<script src="//use.typekit.net/nwm5yvv.js"></script> <script>try{Typekit.load();}catch(e){}</script>
This is the code Adobe gives me. Thoughts?
February 16, 2015 at 9:31 am #207691Nevermind– css comment wasn’t formatted correctly. Fixed!
February 16, 2015 at 11:11 am #207770Glad you were able to figure it out 🙂
-
AuthorPosts