Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Add @font-face in administration template

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hello,
which files should I edit (and how to edit them) to implement and display an additional font (with the @font-face method - Font Squirrel) directly in the template administration (in the dropdown menu).
At the moment I used the traditional method via @font-face set in custom.css file of the template, but I would like to know how to implement the font as I described above.

Thank you ;)

  • Lorenzo's Avatar
  • Lorenzo
  • LIfetime Developer - Big Bamboo
  • 369 posts
  • 11 Thanks
  • Karma: 2
Last Edit: 8 years 2 weeks ago by Lorenzo.
The administrator has disabled public write access.
Try

www.joomlabamboo.com/index.php?option=com_kunena&view=topic&catid=516&id=112255&Itemid=215#124999

I'd have a backup of the php files first

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
... I don’t think the link you given me will help me, I use a template that is based on Zengrid V4 framework and the link you gave me refers to templates using T3 framework :dry:

In blocks folder I have a file that refers directly to fonts (fonts.php file), all the settings are located in this file, so I guess the code must be added in this file,… more, in templateDetails.xml file I have no tag section that refers to fonts ... :S
  • Lorenzo's Avatar
  • Lorenzo
  • LIfetime Developer - Big Bamboo
  • 369 posts
  • 11 Thanks
  • Karma: 2
Last Edit: 8 years 2 weeks ago by Lorenzo.
The administrator has disabled public write access.
ah sorry not sure why I thought you were using T3

So you are right it is of no use at all

sorry about that

Will look for the different docs page
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I'll need to check with Anthony on this one

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hello Paul,
... do you have any news about how to implement and display an additional font in the template administration? :dry:
  • Lorenzo's Avatar
  • Lorenzo
  • LIfetime Developer - Big Bamboo
  • 369 posts
  • 11 Thanks
  • Karma: 2
The administrator has disabled public write access.
Hi Lorenzo,

You will need to add the code manually to the template to implement this. So that means editing the tpls/blocks/head.php file and adding whatever code you need to add before the closing head tag.

I'll look at adding it to the template in the future as an option but thats the only way to do it for now.

Thanks
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
ok, thank you for the answer Anthony ;)
  • Lorenzo's Avatar
  • Lorenzo
  • LIfetime Developer - Big Bamboo
  • 369 posts
  • 11 Thanks
  • Karma: 2
The administrator has disabled public write access.
Sorry for slight mess up on this one

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers