New Landing How can we help? Themeforest Theme Support Dante Font Awesome errors in FIrefox

Viewing 13 posts - 1 through 13 (of 13 total)
  • Posted in: Dante
  • #74401
    mexpertsag
    Member
    Post count: 15

    Hi there,

    on our Website in the header section we have our social media icons. The icons render well in Chrome. However there seems to be a problem in Firefox on a translated page with WPML. Please see these Screenshots: https://litmus.com/pub/7db0a6f

    On the top right, there should be the icons. But they are replaced by some strange signs. The screens are shot from http://thenew.mexperts.com the english translation of the page. The problem does not exist on the german page available at http://thenew.mexperts.de.

    Any ideas?

    Thanks!
    Florian

    #74432
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please follow this article http://wpvkp.com/font-awesome-doesnt-display-in-firefox-maxcdn/ and let me know your feedback .
    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #74459
    mexpertsag
    Member
    Post count: 15

    Hi Mohammad,

    thanks for the feedback. I added these lines to my .htaccess file but without success. The icons are displayed on http://thenew.mexperts.de but not on the http://thenew.mexperts.com alias domain.

    Florian

    #74498
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide me wordpress admin login and FTP login detail to debug the issue .
    Thanks

    #74505
    mexpertsag
    Member
    Post count: 15
    This reply has been marked as private.
    #74507
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I am getting this error
    Forbidden
    You don’t have permission to access /wp-login.php on this server.

    Thanks

    #74510
    mexpertsag
    Member
    Post count: 15
    This reply has been marked as private.
    #74585
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please install WPIDE plugin.
    Thanks

    #74588
    mexpertsag
    Member
    Post count: 15
    This reply has been marked as private.
    #74854
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Now , the developer of theme will assist you very soon .

    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #75077
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Here is your error:

    Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://thenew.mexperts.de/wp-content/themes/dante/css/font/fontawesome-webfont.woff?v=4.0.3. This can be fixed by moving the resource to the same domain or enabling CORS.

    Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://thenew.mexperts.de/wp-content/themes/dante/css/font/ss-gizmo.woff. This can be fixed by moving the resource to the same domain or enabling CORS.

    See here for more info:

    https://www.google.co.uk/search?q=enabling+CORS.&oq=enabling+CORS.&aqs=chrome..69i57.150j0j7&sourceid=chrome&es_sm=91&ie=UTF-8#q=enabling+CORS&safe=off

    – Ed

    #75146
    mexpertsag
    Member
    Post count: 15

    Hi Ed, thanks so much for your help. It works now.

    So the solution for everyone hosting their one wordpress site on multiple domains (for example to have 2 different languages) and experiencing the described problems above. As Ed found out to enable CORS.

    Here is how to do this on a Apache Web Server.

    In the .htaccess file of your wordpress installation root ad the following block

    <FilesMatch ".(ttf|otf|eot|woff)$">
    <IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"
    </IfModule>
    </FilesMatch>

    Be sure mod.headers is enabled on your Apache. If you want to get sure shh your server with
    a2enmod headers

    and restart Apache to activate.
    sudo service apache2 reload

    Information about enabling CORS on other server environments can be found at
    http://enable-cors.org/server.html

    Have fun!
    Florian

    #75255
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Glad I could help, thanks for detailing your solution ๐Ÿ™‚

    – Ed

Viewing 13 posts - 1 through 13 (of 13 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