• Resolved pierre1688

    (@pierre1688)


    Hi all,
    As this subject, I would like to add new customized fonts into my website.
    Please help to provide codes snippets to reach this goal. I will implement it into child-theme afterward. Thanks in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter pierre1688

    (@pierre1688)

    Hi all,
    I had tried below codes to solve this situation for your reference!
    If any problem or concern, please also let me know! Thanks!

    add_action( 'wp_print_styles', 'disable_google_fonts_style' );
    function disable_google_fonts_style() {
          wp_dequeue_style( 'colormag_googlefonts' );
    }

    Hey @pierre1688 ,

    Thank you for writing in,

    The code dequeues the google fonts and yes it should work correctly for you. If there is any problem then please let me know.

    Regards,
    ThemeGrill Support Team

    Hello, I tried changing the default font family by using the Google fonts plugin, the Lato font seems reactive while others don’t reflect on settings, talk more of in public view.

    Unfortunately, the fonts (even all fonts except Lato) aren’t working. Please how can I get around this?

    Any there any other way for font customization?

    Ps. I’ve tried some CSS rule but all to no avail. What if you folks change the font family directly in the theme, this is because it looks old-fashioned!!!

    versuri

    (@colormaginfo)

    open footer.php
    enter before </body> <link href='https://fonts.googleapis.com/css?family=Lato:400,700' rel='stylesheet' type='text/css'>

    • This reply was modified 2 years, 3 months ago by versuri.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to remove Google fonts from theme completely?’ is closed to new replies.