Elxis CMS Forum
Support => General => Topic started by: ROUBOS on December 22, 2009, 02:10:48
-
Hi,
is it possible to add your own downloaded font to the site? Have the font embedded I mean, so that it actually shows regardless if the viewers have it installed on their system?
Also, I would like to change the flag icons to round ones for the language selection. Where do we change these image files?
thanks
-
http://en.wikipedia.org/wiki/Embedded_OpenType
http://www.fontembedding.com/fonts-and-the-web/
http://www.fontembedding.com
wait for ccs3 ...noways embed fonts are not compatible with 50% of browsers out there.... as far as i know!
flags?
inside every language folder:
/language/french/french.gif
/language/greek/greek.gif ... etc.
-
yes CCS3 you're right. Hate having to worry about all browsers out there :(
Thank you so much ;)
-
can I use png instead of gif for the flags?
-
you can just rename your png images to gif.. browsers are much clever nowdays
or modify
modules/mod_language.php ... ~line 223
echo '<img src="'.$mainframe->getCfg('live_site').'/language/'.$langx.'/'.$langx.'.gif" border="0" alt="'.$langx.'" style="vertical-align:middle" />';
and then replace all gif flag images in every language folder with a png image
-
thanks
just that png is much better than gif transparency