1. TDEDERICHS
  2. Sherlock Holmes
  3. Commercial Templates
  4. Sunday, 07 May 2023
  5.  Subscribe via email
Hi!
I updated the Skylar template up to version 1.1.8. As I use localized fonts, I had to update the fonts.php file. I deleted the loop and inserted the link to the CSS file, as recommended. But, when I checked the "Typography Styling" in the Template Style, the font list was unchanged and not showing my personalised fonts. Any suggestions?
Cheers, Torsten
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Torsten

To add new fonts to the font selectors, may I suggest the following article.. https://joomla51.com/tutorials/template-customization/adding-new-google-fonts

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi!

Sorry, maybe I confused you in my post before.

I localised the needed fonts, following the instructions here: https://joomla51.com/tutorials/template-customization/localize-web-fonts
After updating to version 1.1.8 of Skylar, I needed to repeat the last step of the instruction, meaning replacing the PHP loop with the link to the CSS file. What I did. But still, the fonts in the style area remain the same. Any thoughts?

Cheers, TD
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hello Ciaran,
I have probably tripped myself up due to a lack of documentation. Sorry for the irritation I caused here.

I have created my own set of fonts for my site, which are not included in the Google fonts. I have included them as you described in the tutorials.

To make these fonts usable, I added them to the file "/templates/j51_XXX/elements/googlefonts.php" in $googleFonts-Array. For this, I added entries in the form:
$googleFonts['FONT-NAME GIVEN IN CSS FILE'] = 'FONT-NAME TO BE SHOWN';
In fact, I commented out the unused $googleFonts entries.
I hope I was able to clarify and conclude my point here. Maybe I could also help one or the other with the GoogleFont array knack.
LG Torsten
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Thank you for the update and for sharing your solution .Am I correct in saying you have you have your solution and the you can now select and apply your new font?

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciaran,
yes. My initial request is solved. I can now include my own fonts, following your tutorial, and include them in the backend, by adding them to the googleFonts-array.
Cheers, TD
  1. more than a month ago
  2. Commercial Templates
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!