Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #655880

    Hi,

    I love this theme. I encountered a problem.
    I tried to add a google font by pasting in the PHP snippet from the support forum exactly as instructed into the child theme and it broke the site with a syntax error. I restored the site. But I would still like to add the Lato 100 (really light weight font)

    This is the code instructions that I followed and didn’t work (this was for PT Sans but I wanted to see if it worked before I changed anything for lato). Can you suggest something else for lato 100 please?

    You can tell the Enfold theme to display additional google fonts as options in the General Styling font dropdowns using filters. Add this to the bottom of your child themes functions.php file: add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’); function avia_add_heading_font($fonts) { $fonts[‘PT Sans Narrow’] = ‘PT Sans Narrow:400,700’; $fonts[‘PT Sans’] = ‘PT Sans:400,700,400italic,700italic’; return $fonts; } add_filter( […]

    Thanks you, Holly

    • This topic was modified 8 years, 5 months ago by hollyp3.
    #656032

    Hey Holly,

    Thanks for getting in touch with us!

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    Login credentials include:

    • The URL to the login screen.
    • A valid username (with full administration capabilities).
    • As well as a password for that username.
    • permission to deactivate plugins if necessary.

    Best regards,
    Jordan

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