Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

How can i disable google fonts


Hello, in my country are not allowed, how can i disable all google fonts on my metronic theme (Latest Version, laravel)?


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (9)


Thank you riterix happy



Ohh Hi Faizal,

You are welcome, any time man.

Thank you ;)



Hi Justus,

You can customize and update the includeFonts function from this class file app/Core/Adapters/Theme.php based on your requirement.

The default Metronic font is Inter. Maybe you could replace it with this font.



Thanks



How can i See If text ist used in the Programm is a Google Font or not? So the Default metonic Fonts dont used Google Fonts?



Hi Justus,

You can rely on this Post, I used the first option, to disabled google fonts, since it is for Laravel it will fits you well,

I followed it and made my project google fonts off, I customize the post for my Django project, and now I host them locally, even performance are great.

This method is also great for people who may deploy their project for the European market to avoid the GDPR laws.

Hope it helps.



here's the post :



Hi Justus Roki,

You can remove below code from this file.

themes/metronic/laravel/resources/views/base/base.blade.php


{{ theme()->includeFonts() }}


Thanks



how do i know if i use google fonts or not? If need a alternative when i remove then?



There active but i dont if use them




--------------------------


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(