Home>Support>Add custom font with adobe typekit (.js)

Add custom font with adobe typekit (.js)

By MJ, 9 years ago. Last reply by MJ, 9 years ago.

Hi, thanks for all your great help on this forum for Vantage.

I decided to try Adobe typekit to display a custom header font – Bebas Neue – for each Vantage Headline widget that appears (every page except homepage). Adobe provides javascript that needs to go in the header.php file. I have a child theme but I’m not sure where to place the script.

try{Typekit.load();}catch(e){}

Suggestions?

I tried @font-face for the header font change first, but after numerous attempts the font never loaded.

Thanks!

Matt

URL: http://imsone.com.v3.cloudsites.gearhost.com/magneticsprings/about-us/

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 6 months ago MJ

    Looks I didn’t post the adobe script correctly here.

    /*
    try{Typekit.load();}catch(e){}*/

  2. 9 years, 6 months ago MJ

    Nevertheless, commenting this out, not working. it is a javascript I need to embed.

  3. 9 years, 6 months ago MJ

    //
    //try{Typekit.load();}catch(e){}

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More