Hi there,
1. I would like to change the font of the deafautl headings to an adobe font.
it says i need to add this to the unctions.pho of my child theme.
<link rel=”stylesheet” href=”https://use.typekit.net/dib7xer.css”>
but when I do that it comes up with the error message:
Your PHP code changes were not applied due to an error on line 8 of file wp-content/themes/enfold-child/functions.php. Please fix and try saving again.
syntax error, unexpected token “<“, expecting end of file
2. I then need to add this somewhere
font-family: “arpona”, serif;
font-weight: 500;
font-style: normal;
but not sure how to do that.
thanks
Pete
Hey ausgesonnen,
Thank you for the inquiry.
You can add this code in the functions.php file:
function av_add_typekit_stylesheet() {
echo ' <link rel="stylesheet" href="https://use.typekit.net/dib7xer.css">';
}
add_action('wp_head', 'av_add_typekit_stylesheet');
Then add the css code in the Enfold > General Styling > Quick CSS field if you want to apply it as the default body font:
body, body p {
font-family: "arpona", serif;
font-weight: 500;
font-style: normal;
}
Best regards,
Ismael