Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1442912

    Hi, I’m following this thread on how to add an Adobe type kit to the Enfold theme. https://kriesi.at/support/topic/adding-adobe-typekit-to-my-website/

    I add the code in private to my child theme but I’m getting this error. Your PHP code changes were not applied due to an error on line 17 of file wp-content/themes/enfold-child/functions.php. Please fix and try saving again.

    syntax error, unexpected ‘Regular’’ (T_STRING), expecting ‘]’

    I’m not too sure of the font weight but this is the font im using Edpirito Regular. https://fonts.adobe.com/fonts/espiritu

    Any help would be appriectaed!

    #1443022

    Hey spokerstradingco,
    I’m not familiar with typekit, but your error is typically due to curly quotes when you copy code snippets from a page, please check all of your code in a pleain text editor and ensure the quotes are not curly quotes.
    Try this online tool.

    Best regards,
    Mike

    #1443753

    Hi Mike, I managed to get things working. How do I make this new font weight thicker? I tried to change things under advanced styling but it did not work.

    #1443915

    Hi,
    If font weight doesn’t change it, it could be that your custom font is set to a specific weight, all fonts don’t support all of the weights.
    In some cases the font family will have a “light” variation and a “bold” variation, try checking your font and perhaps also install the “bold” variation.

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.