Replies: 6 comments 4 replies
-
Hi fontanil, Few days ago I saw a video on yourube about this. Is this what you are going to do? Hint: take care if this is allowed by the license the font you are using is released with. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply. I'm able to read and translate English, but I don't understand spoken English. :( So I found this page from Joomdev https://www.joomdev.com/how-to-add-custom-font-to-your-joomla-template/ What I am looking for is adding a new local font (or many) in a website (from Google Fonts or other) to not use remote fonts. Then, I would like to have it in the options of the layout of the template and in the fonts list in the text editor to select it when necessary. |
Beta Was this translation helpful? Give feedback.
-
I @fontanil I will try to help. You said:
What editor are you using? — You need to have an editor that is capable to load the font calls that you add in your custom CSS or SCSS or, ideally, that load your full custom or Astroid compiled CSS files. I use JCE — It can load automatically all CSS files compiled from your Astroid_Template/css folder The Following is a screenshot from Joomla backend edition in JCE You said:
I guess you mean that you correctly see your custom fonts in the Astroid Typography manager? in the “Custom” zone You said:
Can you be more specific here? NOTE: — You can add your path prefif (../fonts/) |
Beta Was this translation helpful? Give feedback.
-
Thanks Chacapamac. I'm using JCE and I tested TinyMCE too: in the fonts list, we have only the default local fonts. Firts for the template fonts options: None is available as a system font and there is no custom font in the list. I will try to find where is my error and see later for JCE. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Thanks! :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I would like to add fonts, preferably local, in Astroid templates for Joomla! 4 to use them in the template options and in the editor list of fonts.
For example I want to use Google Dosis (I downloaded the zip file from Google Fonts), or Tex-Gyre-Adventor (I downloaded the pack from another site). How to add them to Astroid?
Thanks for your help!
fontanil
Beta Was this translation helpful? Give feedback.
All reactions