Clicky

Welcome, Guest
Username Password: Remember me

Adding a (combination)font?
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Adding a (combination)font?

Adding a (combination)font? 3 months, 4 weeks ago #23982

  • traadgeep
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 1
Hello All! I have some troubles with my CSS..
I would like to add:

font-family: Tahoma, Arial, Helvetica, Sans-Serif;

But if I change this in CSS and change the Zone in "Zone Manager" it will be set back to "Arial". Is there a way to add a new (combination of) font(s) in the "Pull down" menu's of the Zone Manager?

Hope u guys can and will help me! I already searched for this topic in this forum.

addingfont.jpg

Re: Adding a (combination)font? 3 months, 3 weeks ago #24003

  • Ricardo
  • OFFLINE
  • Administrator
  • Posts: 6637
  • Karma: 27
Hi,
Please edit this file:
\administrator\components\com_news_portal\helpers\news_portal.constants.php


Find this line:
$font_face_options = array("Arial","Arial Black","Comic Sans MS","Courier New","Georgia","Impact","Lucida Console","Lucida Sans Unicode","Palatino Linotype","Tahoma","Times New Roman","Trebuchet MS","Verdana","MS Sans Serif","MS Serif4","Sylfaen" , "Helvetica");


And replace it with this line:
$font_face_options = array("Arial","Arial Black","Comic Sans MS","Courier New","Georgia","Impact","Lucida Console","Lucida Sans Unicode","Palatino Linotype","Tahoma","Times New Roman","Trebuchet MS","Verdana","MS Sans Serif","MS Serif4","Sylfaen" , "Helvetica", "Tahoma, Arial, Helvetica, Sans-Serif;");


Best regards,
Ricardo Corai
Moderator
www.planetacms.com

Re: Adding a (combination)font? 3 months, 3 weeks ago #24043

  • traadgeep
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 1
You're my hero today!
Thanks, it's solved!
The following user(s) said Thank You: Ricardo
  • Page:
  • 1
Time to create page: 0.20 seconds