This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Add custom font with adobe typekit (.js)

Open 3 replies themetheme-vantage
10 years ago · Last reply by MJ 10 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.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. MJ 10 years, 11 months ago

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

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

  2. MJ 10 years, 11 months ago

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

  3. MJ 10 years, 11 months ago

    //
    //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.

Have a different question or issue?

Start New Thread