Support » Fixing WordPress » Icons problems on top bar and admin panel in WordPress

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, did you upgrade recently to HTTPS or to a CDN? Check out the error on the inspector:

    Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://cdn.creativvo.com/themes/vogue/includes/font-awesome/fonts/fontawesome-webfont.woff2?v=4.6.3. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

    What is happening here is that your domain (https://creativvo.com) and (https://cdn.creativvo.com) are different domains.

    Easy fix:

    Simply host the fontawesome files on the main domain instead of the CDN subdomain.

    Technical fix:

    As written in the error, if you have a header to allow the other origin, this will fix the problem. If you have FTP or file access to your installation, adding this to the existing .htaccess will allow you to load it from the CDN (you need to have the headers Apache module, so this may not work on shared hostings).

    <FilesMatch "\.(ttf|otf|eot|woff)$">
      <IfModule mod_headers.c>
        Header set Access-Control-Allow-Origin "https://cdn.creativvo.com"
      </IfModule>
    </FilesMatch>

    Make sure not to delete anything from the WordPress generated htaccess. If this is too technical, try the easy fix. Cheers! 🙂

    Thank you.
    I will try your easy way (for me – all are technical/difficult ways 🙂 ) to fix it.

    Regards,
    Any.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Icons problems on top bar and admin panel in WordPress’ is closed to new replies.