Icon not showing in header

Hello, we have a cart off canvas element in our header. I can see the icon in the pro header builder but on the live site, the icon won’t display. I’ve attached a photo below of what it looks like on the live site, and what it should look like.

I tried deleting and readding it but I am still experiencing the issue.

http://56x.e48.myftpupload.com/

Hi Kannakart,

Thank you for writing in, You’re having a Cross-Origin Resource Sharing (CORS) issue. That means this URL http://56x.e48.myftpupload.com is blocking the resources coming from your CDN http://secureservercdn.net/198.71.233.44/56x.e48.myftpupload.com yes even if they’re referring to the same site. Basically, your site is blocking its own resources (FontAwesome) that is why the icons are not showing up.


Please access your .htaccess file via FTP and add the lines below.

Header add Access-Control-Allow-Origin: http://secureservercdn.net
Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type"
Header add Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS"

e.g


Troubleshooting - Font Awesome

Let us know how it goes,
Cheers!

Fixed, thanks!

Hey @Kannakart,

You’re welcome!
We’re glad @Friech were able to help you out.

Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.