Forums

NeoJoomla - English => Suggestions & Feedback => Topic started by: portal builder on October 17, 2007, 04:15:04 AM



Title: sIFR - how do i change in SmoothBllog template
Post by: portal builder on October 17, 2007, 04:15:04 AM
I have downloaded more sIFR fonts but cannot figure out how to change the font in the template - where is the font called in Smoothblog template? thank you!


Title: Re : sIFR - how do i change in SmoothBllog template
Post by: Nicolas on October 17, 2007, 08:51:32 AM
Hi,

Fonts called in template are a swf file. By default there is rockwell.swf and avantgarde.swf in template package.

To change the font, take index.php file of template and go to line 227. Here there is a font declaration, just name of file 'myfont.swf', change this string to another.

For example :
Code:
var font  = "<?php echo 'templates/' . $mainframe->getTemplate() . '/arial.swf'; ?>";

If you want to make a font selector in template, you must add some conditions to called file.

 ;)