VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Add new custom font

Re: Add new custom font 20 Feb 2016 05:52 #8132

Hello,

At the moment, I see this font url is not exist : fonts.googleapis.com/css?family=Adam

If you can put your website online on a temporary url, we can check this for you quickly.

Regards

JF Support

  • Posts:2940
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: Add new custom font 20 Feb 2016 11:01 #8137

You've got PM.
Thank you

Re: Add new custom font 22 Feb 2016 03:22 #8149

3) I would like to add the font into the drop down menu inside the backend. (where I can choose the font to use)
So I've added this line into the file helper.php

You should add this line into the file fields/slideoption.php, look for $fontOptions param and add:
 
$fontOptions = array(
JHTML::_('select.option', 'none', 'Default' ),
JHTML::_('select.option', 'adam', 'Adam' ),
...
);
 

File helper.php should be:
 
//23
if($fontname == "adam"){
return "adam";
}
 


joomfreak
Last Edit: 23 Feb 2016 02:56 by isupport.

  • Posts:2940
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: Add new custom font 22 Feb 2016 21:15 #8154

All Done, thank you
  • Page:
  • 1
  • 2
Time to create page: 0.90 seconds
Wednesday 29 May 2024

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.