Plugin options
All options are on the Plugin tab of System - Easy Local Google Fonts, in System > Manage > Plugins, next to Joomla's own plugin fields (Status, Access, Ordering and Note). The switches show No and YES.
| Option | Default | What it does |
|---|---|---|
| Clear Local Fonts Cache | Shows the folder of the downloaded fonts and its size, with a Clear button. | |
| Detect In CSS Files | YES | Checks the CSS files of your site that the page links to. |
| Detect In HTML Link tags | YES | Replaces <link> tags that load a Google Fonts stylesheet. |
| Detect In HTML Style tags | YES | Replaces Google Fonts addresses anywhere in the HTML of the page. |
Keep all three switches on unless you have a reason to turn one off. Changes take effect on the next page view. If your site uses page caching, clear Joomla's cache after you change an option.
Clear Local Fonts Cache
A box with:
- Clear: deletes the downloaded fonts. The next page view downloads them again. See Clear the cache.
- Path: the full server path of the folder,
.../media/plg_system_easylocalgooglefonts/. - Size: how much space the downloaded files use, for example
312.45KB.
Clear works at once; you do not need to save the plugin. On Joomla 6 it needs the Backward Compatibility 6 plugin. See Joomla 6.
Detect In CSS Files
When on, the plugin reads the CSS files on your own domain that the page links to. A file that loads Google Fonts gets a copy named ..._elgf.css with local addresses, and the page links to the copy. See Google Fonts in CSS files.
Turn it off if your CSS files do not load Google Fonts, or if Joomla cannot write to your template folders.
Detect In HTML Link tags
When on, <link> tags whose address is a Google Fonts stylesheet (fonts.googleapis.com/css, /css2 or /icon with a family value) are changed to the local copy. See Link tags.
In 6.0.1, turning this off alone does not keep link tags as they are while Detect In HTML Style tags is on, because that option checks the whole page.
Detect In HTML Style tags
When on, the plugin looks for addresses on fonts.googleapis.com and fonts.gstatic.com in the whole HTML of the page and replaces the ones it can download. This covers @import in <style> blocks and url() in style attributes. See Addresses in the HTML.
In 6.0.1 this check is not limited to <style> tags. It also changes Google Fonts addresses in link tags, scripts and article text. If you write about Google Fonts on your site and want a stylesheet address in an article to stay as written, turn this option off and keep Detect In HTML Link tags on.