Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #425109
    Anonymous

    Hi. I am having a problem with the icons not displaying when viewing the site in google chrome on mac. This seems to affect all – e.g. arrows on sliders, Facebook icons etc. Just get little squares.

    Also – in Safari they display properly but there is a white line 1 pixel on right of the main slider on the home page. Is this just me?

    Thanks

    #425294

    Hey michaelearl!

    Please see – http://kriesi.at/documentation/enfold/enable-cors/

    Cheers!
    Yigit

    #425355
    Anonymous

    Hi Yigit,

    Thanks

    I have edited the .htaccess file so it looks like this (below) now but it still displaying no icons? Cache cleared in Chrome, restarted as well, same thing?

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    <FilesMatch “\.(ttf|otf|woff)$”>
    <IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin “*”
    </IfModule>
    </FilesMatch>
    # END WordPress

    #426091

    Hi!

    Try adding just this.

    Header set Access-Control-Allow-Origin “*”
    

    To see what happens. If your using a caching plugin then be sure to clear it’s cache.

    Cheers!
    Elliott

    #426126
    Anonymous

    Hi Elliuot,

    Thanks, but this is still not working for me. I have cleared all browsing data and even tried on a newly installed mac in both Firefox and Google but still the icons are not appearing.

    For reference the .htaccess file looks like this at present:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    Header set Access-Control-Allow-Origin “*”
    # END WordPress

    #426823

    Hi,

    Can you please create us a temporary FTP account? post it here as a private reply.

    Regards,
    Josue

    #426929
    Anonymous
    This reply has been marked as private.
    #426971

    Hi!

    I see, as you are using nginx as the webserver these htaccess configurations won’t work, you’d need to ask your web hosting provider to enable CORS on nginx:
    http://enable-cors.org/server_nginx.html

    Also, this issue occurred because apparently you changed the web address from http://www.website.com to website.com so reverting that will fix the issue.

    Regards,
    Josue

    #426998
    Anonymous

    Thanks Josue. Changing back to www. did the trick! Will request the CORS to be enabled as well.

    #427009

    Glad to hear that :)

    Regards,
    Josue

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.