*

azi_111

  • **
  • 13 posts
Lack of icons
« on: June 17, 2021, 11:51:33 PM »
Hi,
In Veronika I see, that sometimes there is lack of icons - mainly in Edge or Firefox, but sometimes on Chrome too. Could you say what is wrong?

*

MB Themes

Re: Lack of icons
« Reply #1 on: June 18, 2021, 07:39:39 AM »
You may change CDN link to font awesome stylesheet in head.php.
Currently it is:
//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css

Alternative could be:
https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

azi_111

  • **
  • 13 posts
Re: Lack of icons
« Reply #2 on: June 20, 2021, 11:06:36 PM »
Now I have:
osc_enqueue_style('font-awesome', osc_current_web_theme_url('fonts/fa/css/font-awesome.min.css'));

when I changed:
osc_enqueue_style('font-awesome', osc_current_web_theme_url('//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css'));
or
osc_enqueue_style('font-awesome', osc_current_web_theme_url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'));

it doesn't work

*

MB Themes

Re: Lack of icons
« Reply #3 on: June 21, 2021, 08:40:48 AM »
@azi_111
Pay more attention to your code, I believe this could be fixed also by person with 0 knowledge, especially if you also checked your source code after change....

Change this:
Code: [Select]
osc_enqueue_style('font-awesome', osc_current_web_theme_url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'));

Into:
Code: [Select]
osc_enqueue_style('font-awesome', 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

azi_111

  • **
  • 13 posts
Re: Lack of icons
« Reply #4 on: June 22, 2021, 12:03:53 AM »
Maybe I have 0 knowledge, but I can read and I can't find:
osc_enqueue_style('font-awesome', osc_current_web_theme_url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'));
in my head.php
Maybe you forgot what did you write in head.php?

My head.php:
osc_enqueue_style('font-awesome', osc_current_web_theme_url('fonts/fa/css/font-awesome.min.css'));
« Last Edit: June 22, 2021, 07:55:28 AM by MB Themes »

*

MB Themes

Re: Lack of icons
« Reply #5 on: June 22, 2021, 07:56:10 AM »
What?

Now I have:
osc_enqueue_style('font-awesome', osc_current_web_theme_url('fonts/fa/css/font-awesome.min.css'));

when I changed:
osc_enqueue_style('font-awesome', osc_current_web_theme_url('//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css'));
or
osc_enqueue_style('font-awesome', osc_current_web_theme_url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'));

it doesn't work

Maybe I have 0 knowledge, but I can read and I can't find:
osc_enqueue_style('font-awesome', osc_current_web_theme_url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'));
in my head.php
Maybe you forgot what did you write in head.php?

My head.php:
osc_enqueue_style('font-awesome', osc_current_web_theme_url('fonts/fa/css/font-awesome.min.css'));

  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots