Dear amir.askari2005,
You can refer the solution here:
how to add your font in sj_megashop:
Example: you can add "UTM Swashes.ttf" font in sj_megashop
Please following the steps:
1. create folder "swashes" in templates\sj_megashop\asset\fonts\
a. copy your font "UTM Swashes.ttf" in templates\sj_megashop\asset\fonts\swashes\
b. create a font-swashes.css file in templates\sj_megashop\asset\fonts\swashes\
3. copy code the below in font-swashes.css file:
@font-face {
font-family: 'UTM Swashes';
src: url('UTM Swashes.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
4. go to templates\sj_megashop\includes\frame_inc.php and find:
$yt->ytStyleSheet('css/template.css');
=>
if(!defined('FONT_SWASHES')){
$yt->ytStyleSheet('asset/fonts/swashes/font-swashes.css');
define('FONT_SWASHES', 1);
}
$yt->ytStyleSheet('css/template.css');
6. go to templates\sj_megashop\asset\gfonts.txt and add:
UTM Swashes=UTM Swashes;
7. go to administrator -> templates manager -> Typography -> Font Family -> select "UTM Swashes" , then save.
Thanks