Voyager: Issue with Voyager Font Awesome icons not displaying properly [BUG]

Created on 10 May 2019  ·  30Comments  ·  Source: the-control-group/voyager

Version information

  • Laravel: v5.8
  • Voyager: v1.2.3
  • PHP: 7.3

Description

I have a problem with displaying icons.
And I have another problem and its about alerts the main page like Users count and Pages count and Posts count.

background
My Panel!

background_main
I want informations tabs like this.

Screenshots

icon1
icon2
icon3

possible bug

Most helpful comment

+1
image

All 30 comments

Change your vendor\tcg\voyager directory to a new directory from and properly voyager project.

You need to provide more information.... Any errors in the logs? browser console?

Sorry for interrupt but I'm facing with same issue, the functionality is properly working while the fonts are not showing.. the console error is below,
error

I confirm it too. The fonts are not loaded correctly.

Schermata 2019-06-06 alle 11 21 55

image

image

maybe here...

edit: the css file is resources/app.css from vendor/tcg/voyager folder

+1
image

I have also faced the same issue
voyegar

I have similar problems, but on the latest version after installation
Laravel: v5.8
Voyager: v1.2.5
PHP: 7.3

I have similar problems, but on the latest version after installation
Laravel: v5.8
Voyager: v1.2.5
PHP: 7.3

Same here

I have similar problems, but on the latest version after installation
Laravel: v5.8
Voyager: v1.2.5
PHP: 7.3

Same!

@all
Guys just forgot to change fonts path in vendor/tcg/voyager/resources/assets/sass/fonts.css
temporary solution:
copy vendor/tcg/voyager/resources/assets/sass/fonts.css
to
public/css
open it and change font path from
assets?path=fonts/voyager...
to
/admin/voyager-assets?path=fonts/voyager...

and include it in the voyager config

...
    'additional_css' => [
       'css/fonts.css',
    ],
...

Update to 1.2.6 and clear your browser-cache

@ArroWsGM that cant work. This file wont be included from Voyager.

@emptynick
Fantastic!
Thanks now works by upgrading to version 1.2.6

@emptynick Good job, Thankyou!

@emptynick
Obviously, it needs to be included in voyager config:

...
    'additional_css' => [
       'css/fonts.css',
    ],
...

I'm forgot to mention about it, sorry

No bug with version 1.2.6

Update to 1.2.6 and clear your browser-cache

@ArroWsGM that cant work. This file wont be included from Voyager.

Its working now with 1.2.6

Resolved, closing

I use "tcg/voyager": "^1.3"
but still have this bug

image

image

I got this bug on version 1.3 too.

@OtiZ2 I just solved this by enable php extension file_info

@OtiZ2 I just solved this by enable php extension file_info

hi, i got extension file_info enabled.
But still not worked

@ALL
Guys just forgot to change fonts path in vendor/tcg/voyager/resources/assets/sass/fonts.css
temporary solution:
copy vendor/tcg/voyager/resources/assets/sass/fonts.css
to
public/css
open it and change font path from
assets?path=fonts/voyager...
to
/admin/voyager-assets?path=fonts/voyager...

and include it in the voyager config

...
    'additional_css' => [
       'css/fonts.css',
    ],
...

please can you give more details? which public folder ? the one in my main App?

@ALL
Guys just forgot to change fonts path in vendor/tcg/voyager/resources/assets/sass/fonts.css
temporary solution:
copy vendor/tcg/voyager/resources/assets/sass/fonts.css
to
public/css
open it and change font path from
assets?path=fonts/voyager...
to
/admin/voyager-assets?path=fonts/voyager...
and include it in the voyager config

...
    'additional_css' => [
       'css/fonts.css',
    ],
...

please can you give more details? which public folder ? the one in my main App?

In the laravel root, I don't know other public folder in laravel)) But, I think this bug is already fixed.

My problem is solve with
php artisan config:cache
:D

I just solved this by enable php extension file_info

I enabled php extension file_info but still not working. Still no fix for this?

I enabled php extension file_info but still not working. Still no fix for this?

I still have this problem

I solved this by enable php extension file_info

I am using v1.4 and docker. It is working at local, but when i deploy to server, can not load fonts and images (js and css can load).
Laravel 8.x
Voyager: 1.4

I just debug in VoyagerController:

No errors in log file.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Nagendra1421 picture Nagendra1421  ·  3Comments

vaggelis2018 picture vaggelis2018  ·  3Comments

abacram picture abacram  ·  3Comments

wp-src picture wp-src  ·  3Comments

winex01 picture winex01  ·  3Comments