What's New
- AuthorPosts
Hello
Fonts loaded on my site very slowly
link site: http://www.fordika.com/
used cods for change font in custom cods in theme editor :@font-face {
font-family: IRANSans;
font-style: normal;
font-weight: bold;
src: url(‘fonts/eot/IRANSansWeb_Bold.eot’);
src: url(‘fonts/eot/IRANSansWeb_Bold.eot?#iefix’) format(’embedded-opentype’),
url(‘fonts/woff2/IRANSansWeb_Bold.woff2’) format(‘woff2’),
url(‘fonts/woff/IRANSansWeb_Bold.woff’) format(‘woff’),
url(‘fonts/ttf/IRANSansWeb_Bold.ttf’) format(‘truetype’);
}
@font-face {
font-family: IRANSans;
font-style: normal;
font-weight: 500;
src: url(‘fonts/eot/IRANSansWeb_Medium.eot’);
src: url(‘fonts/eot/IRANSansWeb_Medium.eot?#iefix’) format(’embedded-opentype’),
url(‘fonts/woff2/IRANSansWeb_Medium.woff2’) format(‘woff2’),
url(‘fonts/woff/IRANSansWeb_Medium.woff’) format(‘woff’),
url(‘fonts/ttf/IRANSansWeb_Medium.ttf’) format(‘truetype’);
}
@font-face {
font-family: IRANSans;
font-style: normal;
font-weight: 300;
src: url(‘fonts/eot/IRANSansWeb_Light.eot’);
src: url(‘fonts/eot/IRANSansWeb_Light.eot?#iefix’) format(’embedded-opentype’),
url(‘fonts/woff2/IRANSansWeb_Light.woff2’) format(‘woff2’),
url(‘fonts/woff/IRANSansWeb_Light.woff’) format(‘woff’),
url(‘fonts/ttf/IRANSansWeb_Light.ttf’) format(‘truetype’);
}
@font-face {
font-family: IRANSans;
font-style: normal;
font-weight: 200;
src: url(‘fonts/eot/IRANSansWeb_UltraLight.eot’);
src: url(‘fonts/eot/IRANSansWeb_UltraLight.eot?#iefix’) format(’embedded-opentype’),
url(‘fonts/woff2/IRANSansWeb_UltraLight.woff2’) format(‘woff2’),
url(‘fonts/woff/IRANSansWeb_UltraLight.woff’) format(‘woff’),
url(‘fonts/ttf/IRANSansWeb_UltraLight.ttf’) format(‘truetype’);
}
@font-face {
font-family: IRANSans;
font-style: normal;
font-weight: normal;
src: url(‘fonts/eot/IRANSansWeb.eot’);
src: url(‘fonts/eot/IRANSansWeb.eot?#iefix’) format(’embedded-opentype’),
url(‘fonts/woff2/IRANSansWeb.woff2’) format(‘woff2’),
url(‘fonts/woff/IRANSansWeb.woff’) format(‘woff’),
url(‘fonts/ttf/IRANSansWeb.ttf’) format(‘truetype’);
}
@font-face {
font-family: Vazir;
font-style: normal;
font-weight: bold;
src: url(‘fonts/eot/Vazir-Bold.eot’);
src: url(‘fonts/eot/Vazir-Bold.eot?#iefix’) format(’embedded-opentype’),
url(‘fonts/woff2/Vazir-Bold.woff2’) format(‘woff2’),
url(‘fonts/woff/Vazir-Bold.woff’) format(‘woff’),
url(‘fonts/ttf/Vazir-Bold.ttf’) format(‘truetype’);
}
@font-face {
font-family: Vazir;
font-style: normal;
font-weight: 500;
src: url(‘fonts/eot/Vazir-Medium.eot’);
src: url(‘fonts/eot/Vazir-Medium.eot?#iefix’) format(’embedded-opentype’),
url(‘fonts/woff2/Vazir-Medium.woff2’) format(‘woff2’),
url(‘fonts/woff/Vazir-Medium.woff’) format(‘woff’),
url(‘fonts/ttf/Vazir-Medium.ttf’) format(‘truetype’);
}
@font-face {
font-family: Vazir;
font-style: normal;
font-weight: 300;
src: url(‘fonts/eot/Vazir-Light.eot’);
src: url(‘fonts/eot/Vazir-Light.eot?#iefix’) format(’embedded-opentype’),
url(‘fonts/woff2/Vazir-Light.woff2’) format(‘woff2’),
url(‘fonts/woff/Vazir-Light.woff’) format(‘woff’),
url(‘fonts/ttf/Vazir-Light.ttf’) format(‘truetype’);
}
@font-face {
font-family: Vazir;
font-style: normal;
font-weight: 200;
src: url(‘fonts/eot/Vazir-Thin.eot’);
src: url(‘fonts/eot/Vazir-Thin.eot?#iefix’) format(’embedded-opentype’),
url(‘fonts/woff2/Vazir-Thin.woff2’) format(‘woff2’),
url(‘fonts/woff/Vazir-Thin.woff’) format(‘woff’),
url(‘fonts/ttf/Vazir-Thin.ttf’) format(‘truetype’);
}
@font-face {
font-family: Vazir;
font-style: normal;
font-weight: normal;
src: url(‘fonts/eot/Vazir.eot’);
src: url(‘fonts/eot/Vazir.eot?#iefix’) format(’embedded-opentype’),
url(‘fonts/woff2/Vazir.woff2’) format(‘woff2’),
url(‘fonts/woff/Vazir.woff’) format(‘woff’),
url(‘fonts/ttf/Vazir.ttf’) format(‘truetype’);
}
@font-face {
font-family: IRANSansF;
font-style: normal;
font-weight: bold;
src: url(‘fonts/eot/IRANSansWeb(FaNum)_Bold.eot’);
src: url(‘fonts/eot/IRANSansWeb(FaNum)_Bold.eot?#iefix’) format(’embedded-opentype’),
url(‘fonts/woff2/IRANSansWeb(FaNum)_Bold.woff2’) format(‘woff2’),
url(‘fonts/woff/IRANSansWeb(FaNum)_Bold.woff’) format(‘woff’),
url(‘fonts/ttf/IRANSansWeb(FaNum)_Bold.ttf’) format(‘truetype’);
}
@font-face {
font-family: IRANSansF;
font-style: normal;
font-weight: 500;
src: url(‘fonts/eot/IRANSansWeb(FaNum)_Medium.eot’);
src: url(‘fonts/eot/IRANSansWeb(FaNum)_Medium.eot?#iefix’) format(’embedded-opentype’),
url(‘fonts/woff2/IRANSansWeb(FaNum)_Medium.woff2’) format(‘woff2’),
url(‘fonts/woff/IRANSansWeb(FaNum)_Medium.woff’) format(‘woff’),
url(‘fonts/ttf/IRANSansWeb(FaNum)_Medium.ttf’) format(‘truetype’);
}
@font-face {
font-family: IRANSansF;
font-style: normal;
font-weight: 300;
src: url(‘fonts/eot/IRANSansWeb(FaNum)_Light.eot’);
src: url(‘fonts/eot/IRANSansWeb(FaNum)_Light.eot?#iefix’) format(’embedded-opentype’),
url(‘fonts/woff2/IRANSansWeb(FaNum)_Light.woff2’) format(‘woff2’),
url(‘fonts/woff/IRANSansWeb(FaNum)_Light.woff’) format(‘woff’),
url(‘fonts/ttf/IRANSansWeb(FaNum)_Light.ttf’) format(‘truetype’);
}
@font-face {
font-family: IRANSansF;
font-style: normal;
font-weight: 200;
src: url(‘fonts/eot/IRANSansWeb(FaNum)_UltraLight.eot’);
src: url(‘fonts/eot/IRANSansWeb(FaNum)_UltraLight.eot?#iefix’) format(’embedded-opentype’),
url(‘fonts/woff2/IRANSansWeb(FaNum)_UltraLight.woff2’) format(‘woff2’),
url(‘fonts/woff/IRANSansWeb(FaNum)_UltraLight.woff’) format(‘woff’),
url(‘fonts/ttf/IRANSansWeb(FaNum)_UltraLight.ttf’) format(‘truetype’);
}
@font-face {
font-family: IRANSansF;
font-style: normal;
font-weight: normal;
src: url(‘fonts/eot/IRANSansWeb(FaNum).eot’);
src: url(‘fonts/eot/IRANSansWeb(FaNum).eot?#iefix’) format(’embedded-opentype’),
url(‘fonts/woff2/IRANSansWeb(FaNum).woff2’) format(‘woff2’),
url(‘fonts/woff/IRANSansWeb(FaNum).woff’) format(‘woff’),
url(‘fonts/ttf/IRANSansWeb(FaNum).ttf’) format(‘truetype’);
}
@font-face {
font-family: VazirF;
font-style: normal;
font-weight: bold;
src: url(‘fonts/eot/Vazir-Bold-FD.eot’);
src: url(‘fonts/eot/Vazir-Bold-FD.eot?#iefix’) format(’embedded-opentype’),
url(‘fonts/woff2/Vazir-Bold-FD.woff2’) format(‘woff2’),
url(‘fonts/woff/Vazir-Bold-FD.woff’) format(‘woff’),
url(‘fonts/ttf/Vazir-Bold-FD.ttf’) format(‘truetype’);
}
@font-face {
font-family: VazirF;
font-style: normal;
font-weight: 500;
src: url(‘fonts/eot/Vazir-Medium-FD.eot’);
src: url(‘fonts/eot/Vazir-Medium-FD.eot?#iefix’) format(’embedded-opentype’),
url(‘fonts/woff2/Vazir-Medium-FD.woff2’) format(‘woff2’),
url(‘fonts/woff/Vazir-Medium-FD.woff’) format(‘woff’),
url(‘fonts/ttf/Vazir-Medium-FD.ttf’) format(‘truetype’);
}
@font-face {
font-family: VazirF;
font-style: normal;
font-weight: 300;
src: url(‘fonts/eot/Vazir-Light-FD.eot’);
src: url(‘fonts/eot/Vazir-Light-FD.eot?#iefix’) format(’embedded-opentype’),
url(‘fonts/woff2/Vazir-Light-FD.woff2’) format(‘woff2’),
url(‘fonts/woff/Vazir-Light-FD.woff’) format(‘woff’),
url(‘fonts/ttf/Vazir-Light-FD.ttf’) format(‘truetype’);
}
@font-face {
font-family: VazirF;
font-style: normal;
font-weight: 200;
src: url(‘fonts/eot/Vazir-Thin-FD.eot’);
src: url(‘fonts/eot/Vazir-Thin-FD.eot?#iefix’) format(’embedded-opentype’),
url(‘fonts/woff2/Vazir-Thin-FD.woff2’) format(‘woff2’),
url(‘fonts/woff/Vazir-Thin-FD.woff’) format(‘woff’),
url(‘fonts/ttf/Vazir-Thin-FD.ttf’) format(‘truetype’);
}
@font-face {
font-family: VazirF;
font-style: normal;
font-weight: normal;
src: url(‘fonts/eot/Vazir-FD.eot’);
src: url(‘fonts/eot/Vazir-FD.eot?#iefix’) format(’embedded-opentype’),
url(‘fonts/woff2/Vazir-FD.woff2’) format(‘woff2’),
url(‘fonts/woff/Vazir-FD.woff’) format(‘woff’),
url(‘fonts/ttf/Vazir-FD.ttf’) format(‘truetype’);
}.fsl-col-home {
height: 100px;
padding: 5px;
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.25);
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.25);
box-shadow: 0 1px 2px rgba(0,0,0,.25);
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
}Attachments:
Hi,
Did you upload fonts in the following folders:
/modules/stthemeeditor/views/css/fonts/eot/
/modules/stthemeeditor/views/css/fonts/woff2/
/modules/stthemeeditor/views/css/fonts/woff/
/modules/stthemeeditor/views/css/fonts/ttf/
If yes, please send me your FTP in a private reply so as I can check it for you.
Best regards.- AuthorPosts
You must be logged in to reply to this topic.