Difference between revisions of "Icons not loading or displaying properly"

From WikiName
Jump to: navigation, search
(Created page with "If icons are missing on you site using Swift theme, then try these * Are you using '''Ad blocker''' extension in your browser? It is a known issue, and nothing can be done ab...")
 
 
Line 1: Line 1:
 
If icons are missing on you site using Swift theme, then try these  
 
If icons are missing on you site using Swift theme, then try these  
 
* Are you using '''Ad blocker''' extension in your browser? It is a known issue, and nothing can be done about it.
 
* Are you using '''Ad blocker''' extension in your browser? It is a known issue, and nothing can be done about it.
 +
* Make sure that the icon set includes the icons you want to use. You can pick a higher icon set at '''swift design options -> advanced'''
 
* If you get the '''Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource''' error in your browser console, then add this to you '''htaccess''' file at the end
 
* If you get the '''Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource''' error in your browser console, then add this to you '''htaccess''' file at the end
 
<code>
 
<code>
 +
<pre>
 
<FilesMatch "\.(ttf|otf|eot|woff)$">
 
<FilesMatch "\.(ttf|otf|eot|woff)$">
 
     <IfModule mod_headers.c>
 
     <IfModule mod_headers.c>
Line 8: Line 10:
 
     </IfModule>
 
     </IfModule>
 
</FilesMatch>
 
</FilesMatch>
 +
</pre>
 
</code>
 
</code>

Latest revision as of 12:19, 18 July 2015

If icons are missing on you site using Swift theme, then try these

  • Are you using Ad blocker extension in your browser? It is a known issue, and nothing can be done about it.
  • Make sure that the icon set includes the icons you want to use. You can pick a higher icon set at swift design options -> advanced
  • If you get the Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource error in your browser console, then add this to you htaccess file at the end

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