New Landing How can we help? Themeforest Theme Support Dante Custom font to website

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Dante
  • #163198
    Rushan4eg
    Member
    Post count: 72

    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 added

    AddType 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?

    #163220
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    What code have you used to add fonts in style.css file?
    Thanks
    Mohammad

    #163232
    Rushan4eg
    Member
    Post count: 72
    /* #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;
    
    }
    #163240
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Everything is perfect at my side. So please check after clear the cache of browser.
    Thanks
    Mohammad

    #163243
    Rushan4eg
    Member
    Post count: 72

    Please look up at top of page http://alienvault.su/
    The: “Откройте для себя очень умную безопасность.
    AlienVault обеспечивает все необходимое, для защиты, обнаружения
    & реагирования на современные угрозы в течение нескольких минут.Узнать Подробнее >”
    shows with Serif font. MyseoCyrl500 doesn’t work!(

    #163246
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please attach marked screenshot.
    Thanks
    Mohammad

    #163253
    Rushan4eg
    Member
    Post count: 72
    This reply has been marked as private.
    #163336
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    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

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register