Disable Google Fonts

Featured Theme Forums NomNom Theme Disable Google Fonts

This topic contains 1 reply, has 2 voices, and was last updated by  Zeaks 1 year ago.

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

    Weston
    Participant

    I would like to completely disable Google fonts. How would I do this with NomNom?

    #15406

    Zeaks
    Participant

    Hi Weston, NomNom doesn’t have an option to disable the fonts but here’s how you can do it.

    Open includes/theme-options.php in a text editor, scroll to the bottom of that file and find

    echo 'h1,h1.entry-title,h2,h3,h4,h5,h6,h3.widget-title, #site-title a,#footer h3 { ' . $current_font . ' } ';

    remove everything that is between the single quotes ‘ ‘ so it looks like this

    echo ' { ' . $current_font . ' } ';

    I haven’t tested this but it’s basically removing the CSS classes that the fonts would normally effect. I’ll look for a better solution on how to completely turn the fonts off and get back to you.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.