Icons don't work on all pages except the main


For few days, icons only work on main page. On the others, the icons don’t work…

Do you have an idea ? Link of my website : https://fullboules.fr/shop

Thank you for your help. Seb :slight_smile:

Hello there,

I visited your shop page. All icons load correctly.

The common reason of why Font Awesome won’t load is Cross-Origin Resource Sharing issue in your server.


Hello Kharis,

Thank you for your answer :slight_smile:

It’s really weird… Because it doesn’t work on my laptop, on my desktop and my mobile.

I’ve gone on your link and I’ve done the actions inside.

  • In general setting, the url adress is already without www
  • I added the followind code in my .htaccess

But it doesn’t work ! Do you have an other idea ?

Seb :wink:

Hello Seb,

Does your web browser have some special plugins/extensions enabled? Try disabling all of them at once and run your test. Or, try with different device/network.


Hello Kharis,

I’ve found something interesting. Few days ago, you gave me some code to put into function.php because some fa-icons didn’t work. I deleted this code and the icons displayed well… except for the new fa-icon.

So it solved the part of the problem but not entirely.

The code you gave me :
function sydney_pro_child_remove_default_fontawesome() {

       wp_dequeue_style( 'sydney-font-awesome' );

    add_action( 'wp_enqueue_scripts', 'sydney_pro_child_remove_default_fontawesome', 999 );

     * Load new Fontawesome over CDN
    function sydney_pro_child_add_fontawesome_free_cdn() {
    	<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
    add_action('wp_head', 'sydney_pro_child_add_fontawesome_free_cdn');

Maybe it could help you :wink:


Hello Seb,

We got something different here. The icons always load fine here.

Have you tried with different network or device?