hi there
i would like to add the javascript generated by fonts.com into the head of the pages, and then use custom.css to style h1, etc
could you please tell me how to add the javascript into the pages - thanks! :) jodi
hi there
i would like to add the javascript generated by fonts.com into the head of the pages, and then use custom.css to style h1, etc
could you please tell me how to add the javascript into the pages - thanks! :) jodi
Hi jodi,
The most direct way would be to just add it into the header.php file of the theme files.
Regards,
Devin
ok, thanks; i will try that :)
ok, so it worked so i wanted to share my results with others who would like to do the same thing using their fonts.com account -
in header.php (i put it right after your js code, line, ending around line 75:
<?php
/* my fonts.com javascript */
echo '<script type="text/javascript" src="yourfonts.com-url here"></script>';
?>
in custom.css
for the top nav:
#top .main_menu .menu li {
font-family:'Avenir LT W01 45 Book' !important;
}
for the h tags:
h1, h2, h3, h4, h5, h6 {
font-family:'Avenir LT W01 45 Book' !important;
}
enjoy! :)
Hey!
Glad that you solved the problem :)
Best regards,
Peter
This topic has been closed to new replies.