Okay
  Public Ticket #2020947
[URGENT] @fontface problem
Closed

Comments

  •  1
    selibre started the conversation

    Hello!

    My client was reviewing the site and to my surprise, he can't see the uploaded @fontface on Firefox (PC) for the Menu&Headings. The Firefox Console shows the error CORS Access Control Allow Origin for that two fonts used (Blauth Bold & Medium). I've search on internet and found a possible solution adding the bellow code to the .htaccess that I've created but isn't working (that file doesn't exist in the  httpdocs section, is in another place?):

    # BEGIN REQUIRED FOR WEBFONTS

    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 "https://agatahotenimclar.com"
        </IfModule>
    </FilesMatch>

    # END REQUIRED FOR WEBFONTS

    Tomorrow is the deadline to finish this work and after 3 hours trying to solve this I ask to you in case you know a solution; thanks in advance!

  • [deleted] replied

    Hi,

    I can see that your font is loading just fine in Firefox browser (see video). So it looks the same in all browsers Chrome, Firefox, Safari etcsmile.png

    Have a great day!

  •  1
    selibre replied

    ok, that's fantastic. But I know where the problem is now; if I go to the web without https I get the wrong fonts; but if I enter through https the fonts are ok. So that was the problem, hehe.

    With your template I can do the redirect in the .htaccess on httpdocs with no problem, right?

  • [deleted] replied

    Hi selibre,

    - Yes that is correct.

    - Yes you should not have problems.

    You made a very beautiful site, also the font is very beautifulsmile.png

    P.S: If you like the theme, it would help us a lot if you could give us a five-star rating on Themeforest from your Downloads tab.

    A huge thank you from me and Laborator in advance.

  •  1
    selibre replied

    Thank you very much!

    Sure! I will give the theme a five star for sure, great support and very professional! : )

    Best regards,

    Miguel

  • [deleted] replied

    Thank you very much Miguel for your kind wordssmile.png

    Will set this ticket as solved from here.