Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Dante › Custom font to website
New Landing › How can we help? › Themeforest Theme Support › Dante › Custom font to website
- This topic has 7 replies, 2 voices, and was last updated 9 years by Mohammad – SUPPORT.
-
Posted in: Dante
-
April 6, 2015 at 9:02 am #163198
Hello!
I added a font (myseo500 and myseo300) to my website. But it doesn’t work:(
1. I converted .otf to all web formats
2. I loaded it on my ftp to css/font folder
3. at .htcacsees I addedAddType font/ttf .ttf AddType font/eot .eot AddType font/otf .otf AddType font/woff .woff <FilesMatch "\.(ttf|otf|eot|woff)$"> <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule> </FilesMatch>
4. At style.css I added @font face of fonts
5. When I add to<h2 style="font-family: 'museo500';">
But it dont works. Can you help me?April 6, 2015 at 10:50 am #163220Hi,
What code have you used to add fonts in style.css file?
Thanks
MohammadApril 6, 2015 at 11:17 am #163232/* #Default @font-face ================================================== */ @font-face { font-family: 'source_sans_proregular'; src: url('css/font/sourcesanspro-regular-webfont.eot'); src: url('css/font/sourcesanspro-regular-webfont.eot?#iefix') format('embedded-opentype'), url('css/font/sourcesanspro-regular-webfont.woff') format('woff'), url('css/font/sourcesanspro-regular-webfont.ttf') format('truetype'), url('css/font/sourcesanspro-regular-webfont.svg#source_sans_proregular') format('svg'); font-weight: normal; font-style: normal; } @font-face { font-family: 'source_sans_probold'; src: url('css/font/sourcesanspro-bold-webfont.eot'); src: url('css/font/sourcesanspro-bold-webfont.eot?#iefix') format('embedded-opentype'), url('css/font/sourcesanspro-bold-webfont.woff') format('woff'), url('css/font/sourcesanspro-bold-webfont.ttf') format('truetype'), url('css/font/sourcesanspro-bold-webfont.svg#source_sans_probold') format('svg'); font-weight: normal; font-style: normal; } @font-face { font-family: 'Museo500Regular'; src: url('css/font/Museo500-Regular-webfont.eot'); src: url('css/font/Museo500-Regular-webfont.eot?#iefix') format('embedded-opentype'), url('css/font/Museo500-Regular-webfont.woff') format('woff'), url('css/font/Museo500-Regular-webfont.ttf') format('truetype'), url('css/font/Museo500-Regular-webfont.svg#Museo300Regular') format('svg'); font-weight: normal; font-style: normal; } @font-face { font-family: 'museo100'; src: url('css/font/Museo100-webfont.eot'); src: url('css/font/Museo100-webfont.eot?#iefix') format('embedded-opentype'), url('css/font/Museo100-webfont.woff2') format('woff2'), url('css/font/Museo100-webfont.woff') format('woff'), url('css/font/Museo100-webfont.ttf') format('truetype'), url('css/font/Museo Cyrl 100-webfont.svg#museo100') format('svg'); font-weight: normal; font-style: normal; } @font-face { font-family: 'museo500'; src: url('css/font/Museo500-webfont.eot'); src: url('css/font/Museo500-webfont.eot?#iefix') format('embedded-opentype'), url('css/font/Museo500-webfont.woff2') format('woff2'), url('css/font/Museo500-webfont.woff') format('woff'), url('css/font/Museo500-webfont.ttf') format('truetype'), url('css/font/Museo500-webfont.svg#museo500') format('svg'); font-weight: normal; font-style: normal; }
April 6, 2015 at 11:49 am #163240Hi,
Everything is perfect at my side. So please check after clear the cache of browser.
Thanks
MohammadApril 6, 2015 at 12:15 pm #163243Please look up at top of page http://alienvault.su/
The: “Откройте для себя очень умную безопасность.
AlienVault обеспечивает все необходимое, для защиты, обнаружения
& реагирования на современные угрозы в течение нескольких минут.Узнать Подробнее >”
shows with Serif font. MyseoCyrl500 doesn’t work!(April 6, 2015 at 12:35 pm #163246Hi,
Please attach marked screenshot.
Thanks
MohammadApril 6, 2015 at 1:17 pm #163253This reply has been marked as private.April 7, 2015 at 7:15 am #163336Hi,
I dont see any font face code at style.cs file for this font. You need to insert font face code at style.css insteas of custom css code options.Thanks
Mohammad -
Posted in: Dante
You must be logged in and have valid license to reply to this topic.